2 parents 54c1a35 + 54b2901 commit 0705768Copy full SHA for 0705768
1 file changed
backend/app/core/middleware/security_layer.py
@@ -20,7 +20,8 @@ def setup_security(app: FastAPI):
20
app.add_middleware(
21
CORSMiddleware,
22
# Update with your frontend URLs
23
- allow_origins=["http://localhost:3000", "any other url we need"],
+ allow_origins=["http://localhost:3000",
24
+ "http://http://13.53.39.27/", "any other url we need"],
25
allow_credentials=True,
26
allow_methods=["GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"],
27
allow_headers=["*"],
0 commit comments