Skip to content

Commit 12818c3

Browse files
committed
fix: correct CORS allowed origins configuration in main.go
- Added a missing comma in the CORS allowed origins list to ensure proper syntax and functionality.
1 parent e20a6ee commit 12818c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/cmd/registry/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func main() {
8282
cfg.FrontendURL,
8383
cfg.HomepageURL,
8484
"https://www.devsper.com",
85-
"https://devsper.com"
85+
"https://devsper.com",
8686
}, cfg.CORSAllowedOrigins...)
8787
r.Use(middleware.CORSWithAllowlist(corsOrigins...))
8888

0 commit comments

Comments
 (0)