Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

Proxy google maps api through the server #382

Open
jspaine opened this issue Jun 8, 2018 · 0 comments
Open

Proxy google maps api through the server #382

jspaine opened this issue Jun 8, 2018 · 0 comments

Comments

@jspaine
Copy link
Contributor

jspaine commented Jun 8, 2018

At the moment the google maps keys are sent to the client so it can load the js api. This exposes the keys so it would be better to proxy requests to the google maps api through the server, which can add the keys to the requests and avoid exposing them.

It's also really confusing because we allow setting the api key through an environment variable which is only used to populate the db during seeding, while you'd expect it to be applied each time the server is started.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant