Tahasaif3 commited on
Commit
c0decc3
·
verified ·
1 Parent(s): 7615720

Update src/main.py

Browse files
Files changed (1) hide show
  1. src/main.py +1 -1
src/main.py CHANGED
@@ -21,7 +21,7 @@ _frontend_origins = [o.strip() for o in settings.FRONTEND_URL.split(",")] if set
21
 
22
  # CORS configuration (development and production)
23
  # Include common development URLs in addition to the configured frontend URL
24
- allowed_origins = _frontend_origins + ["http://localhost:3000", "http://localhost:3001", "http://localhost:8000", "http://127.0.0.1:3000", "http://127.0.0.1:3001", "http://127.0.0.1:8000"]
25
 
26
  app.add_middleware(
27
  CORSMiddleware,
 
21
 
22
  # CORS configuration (development and production)
23
  # Include common development URLs in addition to the configured frontend URL
24
+ allowed_origins = _frontend_origins + ["http://localhost:3000", "http://localhost:3001", "http://localhost:8000", "http://127.0.0.1:3000", "http://127.0.0.1:3001", "http://127.0.0.1:8000","https://ai-powered-full-stack-task-manageme.vercel.app"]
25
 
26
  app.add_middleware(
27
  CORSMiddleware,