cabanemaths commited on
Commit
8f4fdca
·
verified ·
1 Parent(s): 6129b65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ app = FastAPI()
14
 
15
  app.add_middleware(
16
  CORSMiddleware,
17
- allow_origins=["*"], # à restreindre à ton domaine
18
  allow_credentials=True,
19
  allow_methods=["*"],
20
  allow_headers=["*"],
 
14
 
15
  app.add_middleware(
16
  CORSMiddleware,
17
+ allow_origins=["https://www.cabane-data.fr", "https://www.cabane-data.fr"], # à restreindre à ton domaine
18
  allow_credentials=True,
19
  allow_methods=["*"],
20
  allow_headers=["*"],