QCDIS / VREPaaS

1 stars 0 forks source link

Configure frontend through runtime environment variable #91

Closed gpelouze closed 1 year ago

gpelouze commented 1 year ago

Add support to configure the vreapp through environment variables.

Currently doesn’t work because of Automatic Static Optimisation (https://nextjs.org/docs/pages/api-reference/next-config-js/runtime-configuration)

gpelouze commented 1 year ago

We settled for only setting the base path, assuming app and api are deployed on the same domain. https://github.com/QCDIS/VREPaaS/pull/86