Add ORIGIN environment variable and update startup script

This commit is contained in:
Sean Morley
2024-04-10 13:30:54 +00:00
parent 40f8c72f19
commit 4c032445a7
3 changed files with 5 additions and 1 deletions

View File

@@ -23,5 +23,6 @@ npm run generate
# Run database migration
npm run migrate
echo "The orgin to be set is: $ORIGIN"
# Start the application
node build/index.js
ORIGIN=$ORIGIN node build