#365 Use relative urls in the browser to avoid needing to hardcode the domain name (#375)

* #365 Updated documentation for changing ports.  Updated the nuxt config to use separate internal and external api urls

* #365 Switch to using relative urls

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
Don Benjamin
2024-04-15 15:02:28 +01:00
committed by GitHub
parent ae18bcbb8d
commit 75c2107b6c
4 changed files with 7 additions and 3 deletions

View File

@@ -10,6 +10,8 @@ nvm use 20
cd /app/nuxt/server/
export NUXT_PRIVATE_API_BASE=http://localhost/api
echo + . /app/client/.env
[ -f /app/client/.env ] && . /app/client/.env || echo "Environment file missing!"