Spaces:
Sleeping
Sleeping
Update app.py
Browse files168 unmodified lines169170171172173174175168 unmodified linesapp.add_middleware(CORSMiddleware,# allow_origins=["http://localhost:8080"], # Replace with the URL of your Vue.js appallow_origins=["http://localhost:8080"], # Replace with the URL of your Vue.js appallow_credentials=True,allow_methods=["*"], # Allows all HTTP methods (GET, POST, etc.)allow_headers=["*"], # Allows all headers (such as Content-Type, Authorization, etc.)168 unmodified lines169170171172173174175168 unmodified linesapp.add_middleware(CORSMiddleware,# allow_origins=["http://localhost:8080"], # Replace with the URL of your Vue.js appallow_origins=["https://labeling-163849140747.europe-west9.run.app/"], # Replace with the URL of your Vue.js appallow_credentials=True,allow_methods=["*"], # Allows all HTTP methods (GET, POST, etc.)allow_headers=["*"], # Allows all headers (such as Content-Type, Authorization, etc.)
app.py+1-1