diff --git a/src/api.ts b/src/api.ts index 1c69f3c20a9..67ad1afd367 100644 --- a/src/api.ts +++ b/src/api.ts @@ -35,11 +35,6 @@ export const authOrigin = () => utils.envOverride("FIREBASE_AUTH_URL", "https://accounts.google.com"); export const consoleOrigin = () => utils.envOverride("FIREBASE_CONSOLE_URL", "https://console.firebase.google.com"); -export const deployOrigin = () => - utils.envOverride( - "FIREBASE_DEPLOY_URL", - utils.envOverride("FIREBASE_UPLOAD_URL", "https://deploy.firebase.com"), - ); export const dynamicLinksOrigin = () => utils.envOverride("FIREBASE_DYNAMIC_LINKS_URL", "https://firebasedynamiclinks.googleapis.com"); export const dynamicLinksKey = () => diff --git a/src/gcp/devConnect.ts b/src/gcp/devConnect.ts index e38d9e9ed63..47b08200366 100644 --- a/src/gcp/devConnect.ts +++ b/src/gcp/devConnect.ts @@ -254,5 +254,5 @@ export async function getGitRepositoryLink( * Returns email associated with the Developer Connect Service Agent */ export function serviceAgentEmail(projectNumber: string): string { - return `service-${projectNumber}@${developerConnectP4SAOrigin}`; + return `service-${projectNumber}@${developerConnectP4SAOrigin()}`; } diff --git a/src/gcp/identityPlatform.ts b/src/gcp/identityPlatform.ts index 6fc75c5f770..0be697f0923 100644 --- a/src/gcp/identityPlatform.ts +++ b/src/gcp/identityPlatform.ts @@ -5,7 +5,7 @@ import { Client } from "../apiv2"; const API_VERSION = "v2"; const adminApiClient = new Client({ - urlPrefix: identityOrigin + "/admin", + urlPrefix: identityOrigin() + "/admin", apiVersion: API_VERSION, }); diff --git a/src/init/features/hosting/github.ts b/src/init/features/hosting/github.ts index 265cc57af01..62a45521368 100644 --- a/src/init/features/hosting/github.ts +++ b/src/init/features/hosting/github.ts @@ -206,7 +206,7 @@ export async function initGitHub(setup: Setup): Promise { `Visit this URL to revoke authorization for the Firebase CLI GitHub OAuth App:`, ); logger.info( - bold(underline(`https://github.com/settings/connections/applications/${githubClientId}`)), + bold(underline(`https://github.com/settings/connections/applications/${githubClientId()}`)), ); logLabeledBullet("Action required", `Push any new workflow file(s) to your repo`); } @@ -442,7 +442,9 @@ async function promptForRepo( ); logger.info( bold( - underline(`https://github.com/settings/connections/applications/${githubClientId}`), + underline( + `https://github.com/settings/connections/applications/${githubClientId()}`, + ), ), ); logger.info();