diff --git a/backend/app.py b/backend/app.py index 14b85c77..a9216a67 100644 --- a/backend/app.py +++ b/backend/app.py @@ -27,14 +27,14 @@ app.include_router(subject_router, prefix="/api") app.include_router(group_router, prefix="/api") -DEBUG = True # Should always be false in repo +DEBUG = False # Should always be false in repo if DEBUG: from fastapi.middleware.cors import CORSMiddleware origins = [ "https://localhost", - "https://localhost:8000", + "https://localhost:8080", "http://localhost:5173", ] diff --git a/frontend/src/utils/ApiFetch.ts b/frontend/src/utils/ApiFetch.ts index 990d7611..c02c9282 100644 --- a/frontend/src/utils/ApiFetch.ts +++ b/frontend/src/utils/ApiFetch.ts @@ -1,4 +1,4 @@ -const DEBUG: boolean = true; // should always be false on the repo. +const DEBUG: boolean = false; // should always be false on the repo. export default function apiFetch(url: string, options?: RequestInit) { if (typeof options === 'undefined') {