/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.
/client/src/App.tsx uses the variable
serverUrl
to choose the server's url. This is dependent of aimport.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.