False45 commited on
Commit
5331784
·
1 Parent(s): 4f811d2

Allow Vercel domain in CORS

Browse files
Files changed (1) hide show
  1. src/main.py +1 -0
src/main.py CHANGED
@@ -72,6 +72,7 @@ app.add_middleware(
72
  "http://localhost:3000", # React dev server
73
  "http://localhost:5173", # Vite dev server
74
  "http://localhost:8501", # Streamlit
 
75
  ],
76
  allow_credentials=True,
77
  allow_methods=["*"],
 
72
  "http://localhost:3000", # React dev server
73
  "http://localhost:5173", # Vite dev server
74
  "http://localhost:8501", # Streamlit
75
+ "https://advanced-math-ai.vercel.app", # Vercel production
76
  ],
77
  allow_credentials=True,
78
  allow_methods=["*"],