From 6ee0d269d8ffd5f221f7fc34aba8e370956cf282 Mon Sep 17 00:00:00 2001 From: ae Date: Sun, 13 Apr 2025 22:58:20 +0300 Subject: [PATCH] fix: use proper vite port for dev. cors --- server/internal/service/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/internal/service/service.go b/server/internal/service/service.go index 119bc7b..4344caa 100644 --- a/server/internal/service/service.go +++ b/server/internal/service/service.go @@ -24,7 +24,7 @@ func (sc *SvcConfig) allowedOrigins() []string { if sc.IsProd { allowed = []string{sc.FrontendURL} } else { - allowed = []string{"http://localhost:3000"} + allowed = []string{"http://localhost:5173"} } log.Debug().Msgf("CORS allowedOrigins: %v", allowed)