Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ app = FastAPI()
|
|
13 |
# Configure CORS
|
14 |
app.add_middleware(
|
15 |
CORSMiddleware,
|
16 |
-
allow_origins=["
|
17 |
allow_credentials=True,
|
18 |
allow_methods=["*"], # Allows all methods
|
19 |
allow_headers=["*"], # Allows all headers
|
|
|
13 |
# Configure CORS
|
14 |
app.add_middleware(
|
15 |
CORSMiddleware,
|
16 |
+
allow_origins=["https://chatzl.github.io"], # Allows only this origin
|
17 |
allow_credentials=True,
|
18 |
allow_methods=["*"], # Allows all methods
|
19 |
allow_headers=["*"], # Allows all headers
|