dtyago commited on
Commit
4f116c5
1 Parent(s): 7b1d846

Revert to wild card CORS

Browse files
Files changed (1) hide show
  1. app/main.py +1 -1
app/main.py CHANGED
@@ -20,7 +20,7 @@ app = FastAPI()
20
  # Set all origins to wildcard for simplicity, but we should limit this in production
21
  app.add_middleware(
22
  CORSMiddleware,
23
- allow_origins=["https://educonnect-debd1.web.app"],
24
  allow_credentials=True,
25
  allow_methods=["*"],
26
  allow_headers=["*"],
 
20
  # Set all origins to wildcard for simplicity, but we should limit this in production
21
  app.add_middleware(
22
  CORSMiddleware,
23
+ allow_origins=["*"],
24
  allow_credentials=True,
25
  allow_methods=["*"],
26
  allow_headers=["*"],