cors
Browse files- backend/src/app.py +1 -0
backend/src/app.py
CHANGED
@@ -30,6 +30,7 @@ app.add_middleware(
|
|
30 |
"http://0.0.0.0:8000",
|
31 |
"http://localhost:5173",
|
32 |
"https://huggingface.co",
|
|
|
33 |
],
|
34 |
allow_credentials=True,
|
35 |
allow_methods=["*"],
|
|
|
30 |
"http://0.0.0.0:8000",
|
31 |
"http://localhost:5173",
|
32 |
"https://huggingface.co",
|
33 |
+
"https://*.hf.space/",
|
34 |
],
|
35 |
allow_credentials=True,
|
36 |
allow_methods=["*"],
|