Skip to content

Commit

Permalink
Move Firebase Functions to us-east1 (#300)
Browse files Browse the repository at this point in the history
Deployed firebase functions to us-east1 to match the firestore
deployment to optimize network egress.
  • Loading branch information
yatharth-b authored Mar 5, 2024
1 parent 495bfa6 commit ae9fbb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const CAMPUSES: Record<string, string> = {

const BACKEND_BASE_URL = 'https://gt-scheduler.azurewebsites.net';
const FIREBASE_PROJECT_ID = firebaseConfig.projectId || `gt-scheduler-web-dev`;
const CLOUD_FUNCTION_BASE_URL = `https://us-central1-${FIREBASE_PROJECT_ID}.cloudfunctions.net`;
const CLOUD_FUNCTION_BASE_URL = `https://us-east1-${FIREBASE_PROJECT_ID}.cloudfunctions.net`;

const LARGE_DESKTOP_BREAKPOINT = 1200;
const DESKTOP_BREAKPOINT = 1024;
Expand Down

0 comments on commit ae9fbb6

Please sign in to comment.