Skip to content

Commit f43d145

Browse files
committed
cors-origin
1 parent f48c0d9 commit f43d145

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/api/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ func main() {
133133

134134

135135
c := cors.New(cors.Options{
136-
AllowedOrigins: []string{"http://localhost:3000"}, // change to your frontend URL
136+
AllowedOrigins: []string{"https://one-password-web.vercel.app"}, // change to your frontend URL
137137
AllowedMethods: []string{"GET", "POST", "PUT", "DELETE", "OPTIONS"},
138138
AllowedHeaders: []string{"Authorization", "Content-Type"},
139139
AllowCredentials: true,

0 commit comments

Comments
 (0)