File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,9 @@ export class Constants {
7676 // Environment variable to override SDK/CLI to point at the Realtime Database emulator.
7777 static FIREBASE_DATABASE_EMULATOR_HOST = "FIREBASE_DATABASE_EMULATOR_HOST" ;
7878
79+ // Environment variable to discover the Data Connect emulator.
80+ static FIREBASE_DATACONNECT_EMULATOR_HOST = "FIREBASE_DATACONNECT_EMULATOR_HOST" ;
81+
7982 // Environment variable to override SDK/CLI to point at the Firebase Auth emulator.
8083 static FIREBASE_AUTH_EMULATOR_HOST = "FIREBASE_AUTH_EMULATOR_HOST" ;
8184
Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ export function setEnvVarsForEmulators(
4141 case Emulators . TASKS :
4242 env [ Constants . CLOUD_TASKS_EMULATOR_HOST ] = host ;
4343 break ;
44+ case Emulators . DATACONNECT :
45+ env [ Constants . FIREBASE_DATACONNECT_EMULATOR_HOST ] = host ;
4446 }
4547 }
4648}
You can’t perform that action at this time.
0 commit comments