uh-dcm / news-article-collection-container

News article collection tool for research
MIT License
2 stars 1 forks source link

figure out how `import.meta.env.` variables work together with rahti #45

Open immone opened 2 weeks ago

immone commented 2 weeks ago

/client/src/App.tsx uses the variable serverUrl to choose the server's url. This is dependent of a import.meta.env variable, which did not seem to work with Rahti (OpenShift) and might require an .env config-file (see: https://github.com/vitejs/vite/discussions/9000)

This is relevant, because we want both the development server as well as the Rahti server to run.