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

fix: get maps api key from server #433

Merged
merged 1 commit into from
Dec 1, 2023
Merged

fix: get maps api key from server #433

merged 1 commit into from
Dec 1, 2023

Conversation

ludtkemorgan
Copy link
Collaborator

@ludtkemorgan ludtkemorgan commented Dec 1, 2023

The map on the listings page of Doorway dev and staging stopped working after the most recent changes.

This is because we are not setting the google maps api key as a build env variable in the build step but rather just a runtime env variable. The latest change is now looking for the api key in a place that can only read the build time variables.

This change reverts the part of the change that is causing this. Ideally we would have all env variables be only runtime, but that will be a bigger endeavor

How to test:
The listings page should work the same it usually does and the map should appear

Copy link
Collaborator

@ColinBuyck ColinBuyck left a comment

Choose a reason for hiding this comment

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

LGTM 🐳

@ludtkemorgan ludtkemorgan merged commit 23ae6ed into main Dec 1, 2023
15 checks passed
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.

2 participants