diff --git a/backend/src/appointment/main.py b/backend/src/appointment/main.py index 8dd6b1c9a..b4b73bf92 100644 --- a/backend/src/appointment/main.py +++ b/backend/src/appointment/main.py @@ -78,6 +78,7 @@ def server(): # Work around for now :) allow_origins=[ os.getenv("FRONTEND_URL", "http://localhost:8080"), + "https://appointment.day", # Temp for now! "https://accounts.google.com", "https://www.googleapis.com/auth/calendar", ], diff --git a/frontend/.env.staging.example b/frontend/.env.staging.example index 1133075f6..0229334bd 100644 --- a/frontend/.env.staging.example +++ b/frontend/.env.staging.example @@ -1,9 +1,10 @@ -# Production env config, do not put secrets in here !! -VUE_APP_API_URL=stage.appointment.day/api/v1/ -VUE_APP_BASE_URL=stage.appointment.day -VUE_APP_API_SECURE=true -VUE_APP_SHORT_BASE_URL=https://stage.apmt.day - -VUE_APP_AUTH0_DOMAIN=thunderbird.eu.auth0.com -VUE_APP_AUTH0_CLIENT_ID=Dvw6O6hPwXg7jZD7p7yAAnLXR2PXiQHF -VUE_APP_AUTH0_AUDIENCE=http://127.0.0.1:8000/ +# Production env config, do not put secrets in here !! +# This is pointing to prod as a temp fix ! +VUE_APP_API_URL=appointment.day/api/v1/ +VUE_APP_BASE_URL=appointment.day +VUE_APP_API_SECURE=true +VUE_APP_SHORT_BASE_URL=https://stage.apmt.day + +VUE_APP_AUTH0_DOMAIN=thunderbird.eu.auth0.com +VUE_APP_AUTH0_CLIENT_ID=Dvw6O6hPwXg7jZD7p7yAAnLXR2PXiQHF +VUE_APP_AUTH0_AUDIENCE=http://127.0.0.1:8000/