Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set FIREBASE_DATA_CONNECT_EMUALTOR_HOSTinstead of FIREBASE_DATACONNECT_EMUALTOR_HOST #8371

Merged
merged 5 commits into from
Mar 27, 2025

Conversation

joehan
Copy link
Contributor

@joehan joehan commented Mar 26, 2025

Description

🤦‍♀️

Also minor clean up for some ugly error handling in pglite.

@joehan joehan requested a review from maneesht March 26, 2025 22:09
@@ -46,6 +46,9 @@ export function setEnvVarsForEmulators(
break;
case Emulators.DATACONNECT:
env[Constants.FIREBASE_DATACONNECT_EMULATOR_HOST] = host;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you need to include the protocol for the emulator, so:

Suggested change
env[Constants.FIREBASE_DATACONNECT_EMULATOR_HOST] = host;
env[Constants.FIREBASE_DATACONNECT_EMULATOR_HOST] = `http://${host}`;

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the record the protocol should never be set, see #8396

joehan and others added 2 commits March 26, 2025 16:33
Co-authored-by: Maneesh Tewani <[email protected]>
Co-authored-by: Maneesh Tewani <[email protected]>
@joehan joehan enabled auto-merge (squash) March 27, 2025 16:17
@joehan joehan merged commit 8ece698 into master Mar 27, 2025
47 of 49 checks passed
@joehan joehan deleted the jh-DATA_CONNECT branch March 27, 2025 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants