Skip to content

Commit dbb1e82

Browse files
committed
Update CORS origins to include devhub.page
1 parent e4b820c commit dbb1e82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def create_app():
1919
bcrypt.init_app(app)
2020
cors.init_app(app, supports_credentials=True, resources={
2121
r"/*": {
22-
"origins": ["http://localhost:5173", "https://devhub-ai.vercel.app"],
22+
"origins": ["http://localhost:5173", "https://devhub-ai.vercel.app", "https://www.devhub.page", "https://devhub.page/"],
2323
"methods": ["GET", "POST", "PUT", "DELETE", "OPTIONS"],
2424
"allow_headers": ["Content-Type", "Authorization"]
2525
}

0 commit comments

Comments
 (0)