Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
Remove duplicate CORS block
Browse files Browse the repository at this point in the history
  • Loading branch information
msathieu committed Mar 13, 2024
1 parent ae0f0f9 commit ebc2e7f
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions backend/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,6 @@
allow_headers=["*"],
)

origins = [
"https://localhost",
"https://localhost:8080",
]

app.add_middleware(
CORSMiddleware,
allow_origins=origins,
allow_credentials=True,
allow_methods=["*"],
allow_headers=["*"],
)


# Koppel de exception handlers
@app.exception_handler(InvalidRoleCredentialsError)
Expand Down

0 comments on commit ebc2e7f

Please sign in to comment.