mirror of
https://github.com/dat515-2025/Group-8.git
synced 2026-05-21 05:17:46 +02:00
fix(backend): refactored app to fastApi to avoid CORS errors
This commit is contained in:
@@ -23,8 +23,8 @@ sentry_sdk.init(
|
||||
send_default_pii=True,
|
||||
)
|
||||
|
||||
app = FastAPI()
|
||||
fastApi = FastAPI()
|
||||
app = fastApi
|
||||
|
||||
# CORS for frontend dev server
|
||||
fastApi.add_middleware(
|
||||
|
||||
Reference in New Issue
Block a user