2nzi commited on
Commit
f636cb3
·
verified ·
1 Parent(s): 53c7c09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=["http://localhost:8080"], # 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.)
 
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.)