fix: use proper vite port for dev. cors
This commit is contained in:
parent
5b633498cb
commit
6ee0d269d8
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user