Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Commit

Permalink
chore: add new frontend endpoint (for Vite@3)
Browse files Browse the repository at this point in the history
  • Loading branch information
KaWaite committed Aug 3, 2022
1 parent 895a648 commit 70fed0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func allowedOrigins(cfg *ServerConfig) []string {
}
origins := append([]string{}, cfg.Config.Origins...)
if cfg.Debug {
origins = append(origins, "http://localhost:3000", "http://localhost:8080")
origins = append(origins, "http://localhost:3000", "http://127.0.0.1:3000", "http://localhost:8080")
}
return origins
}
Expand Down

0 comments on commit 70fed0b

Please sign in to comment.