TheKwenFoundation commited on
Commit
7802ade
·
verified ·
1 Parent(s): ec595f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ app = FastAPI(title="Kwen Foundation Official API")
16
  # Updated CORS: allow_methods=["*"] is crucial for browser 'OPTIONS' preflight requests
17
  app.add_middleware(
18
  CORSMiddleware,
19
- allow_origins=["*"], # For debugging, allowing all. Change to your specific domain later.
20
  allow_credentials=True,
21
  allow_methods=["*"],
22
  allow_headers=["*"],
 
16
  # Updated CORS: allow_methods=["*"] is crucial for browser 'OPTIONS' preflight requests
17
  app.add_middleware(
18
  CORSMiddleware,
19
+ allow_origins=["https://hydrogenclient.github.io"], # For debugging, allowing all. Change to your specific domain later.
20
  allow_credentials=True,
21
  allow_methods=["*"],
22
  allow_headers=["*"],