PromucFlow_constructor/app/client/docker/templates
Shrikant Sharat Kandula bb4ca19179
chore: Remove Maps API Key env variable for client (#19486)
Part of #11855.

Instead of getting the Google Maps API Key from runtime env variables,
we get it from the server, as part of the response of
`/api/v1/tenant/current`. This doesn't add a database call, just include
the env variable name in the response, so shouldn't have any performance
impact on the API.

On the client though, the Maps API key won't be available, until at
least the first call to `/tenant/current` is finished.

Also, first big PR in client code. 🙂

Edit: not `/me` anymore, but from `/tenant/current`.

---------

Co-authored-by: Pawan Kumar <pawan.stardust@gmail.com>
Co-authored-by: Aishwarya UR <aishwarya@appsmith.com>
2023-02-07 14:53:15 +05:30
..
nginx-app-http.conf.template chore: Remove Maps API Key env variable for client (#19486) 2023-02-07 14:53:15 +05:30
nginx-app-https.conf.template chore: Remove Maps API Key env variable for client (#19486) 2023-02-07 14:53:15 +05:30
nginx-app.conf.template chore: Remove Maps API Key env variable for client (#19486) 2023-02-07 14:53:15 +05:30
nginx-root.conf.template Making the nginx root configuration also configurable. (#694) 2020-10-16 10:00:33 +05:30