Skip to content

Commit 60ea8e7

Browse files
fix typo in vercel url
1 parent b1a3da2 commit 60ea8e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/handlers/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func (s *Server) setupRoutes() {
4141
s.router.Use(gin.Recovery())
4242

4343
s.router.Use(cors.New(cors.Config{
44-
AllowOrigins: []string{"http://localhost:3000", "https://forgotten.onrender.com", "https://forgotten-ui.vercel.app'", "http://localhost:5173"},
44+
AllowOrigins: []string{"http://localhost:3000", "https://forgotten.onrender.com", "https://forgotten-ui.vercel.app", "http://localhost:5173"},
4545
AllowMethods: []string{"GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"},
4646
AllowHeaders: []string{"Origin", "Content-Type", "Accept", "Authorization"},
4747
ExposeHeaders: []string{"Content-Length"},

0 commit comments

Comments
 (0)