gemini-hlsw / navigate-ui

Navigate front-end web app
0 stars 1 forks source link

Load URI's from environment file #122

Closed hugo-vrijswijk closed 2 months ago

hugo-vrijswijk commented 2 months ago

Instead of environment variables that are hardcoded into the build output, this will load URI's based on the hostname of the current page. This will allow us to have different URI's for different environments without having to rebuild the application.

A next step would be to publish the dist files somewhere that navigate-server can access them (like on Sonatype). So a build step for this repo is not needed for deploying navigate.

hugo-vrijswijk commented 2 months ago

This looks great!! It will help removing the environment file at compilation time. Actually it seems a good point to remove the compilation process in the production server.

That's the goal. I just need to think of the best way to get the dist folder to navigate-server