the-grey-group / datalab

datalab is a place to store experimental data and the connections between them.
https://the-datalab.readthedocs.io/en/latest
MIT License
37 stars 15 forks source link

Webpack setting of API URL is not available at build time #755

Closed ml-evs closed 3 weeks ago

ml-evs commented 4 weeks ago

In #750, we added a way to configure the API URL via environment variables such that the app can return the URL in the metadata header (for client redirects).

Doing this via environment variable is not available at docker build time, so we probably need to tweak this to use the magic-string hack that I've employed for other VUE_APP variables.