Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -169,7 +169,7 @@ app = FastAPI()
|
|
| 169 |
app.add_middleware(
|
| 170 |
CORSMiddleware,
|
| 171 |
# allow_origins=["http://localhost:8080"], # Replace with the URL of your Vue.js app
|
| 172 |
-
allow_origins=["
|
| 173 |
allow_credentials=True,
|
| 174 |
allow_methods=["*"], # Allows all HTTP methods (GET, POST, etc.)
|
| 175 |
allow_headers=["*"], # Allows all headers (such as Content-Type, Authorization, etc.)
|
|
|
|
| 169 |
app.add_middleware(
|
| 170 |
CORSMiddleware,
|
| 171 |
# allow_origins=["http://localhost:8080"], # Replace with the URL of your Vue.js app
|
| 172 |
+
allow_origins=["https://labeling-163849140747.europe-west9.run.app/"], # Replace with the URL of your Vue.js app
|
| 173 |
allow_credentials=True,
|
| 174 |
allow_methods=["*"], # Allows all HTTP methods (GET, POST, etc.)
|
| 175 |
allow_headers=["*"], # Allows all headers (such as Content-Type, Authorization, etc.)
|