Skip to content

Commit

Permalink
fix: server cors localhost (#388)
Browse files Browse the repository at this point in the history
  • Loading branch information
Encord-davids authored May 10, 2023
1 parent d43b86b commit 759a77d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/encord_active/server/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

app = FastAPI()

origins = [settings.ALLOWED_ORIGIN]
origins = ["http://localhost:5173", "http://localhost:8501", settings.ALLOWED_ORIGIN]

app.add_middleware(
CORSMiddleware,
Expand Down

0 comments on commit 759a77d

Please sign in to comment.