fix: use proper vite port for dev. cors

This commit is contained in:
ae 2025-04-13 22:58:20 +03:00
parent 5b633498cb
commit 6ee0d269d8
Signed by: ae
GPG Key ID: 995EFD5C1B532B3E

View File

@ -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)