fix: Makes LOM Kubernetes capable.

This commit is contained in:
Tera 2024-09-29 12:58:38 +00:00 committed by GitHub
parent d03d5d9d85
commit 74657b6453
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,8 @@
#!/bin/bash
export NODE_ENV="production"
export SERVER_BASE_URL="http://nextnet-api:3000/"
npm start
if [[ "$SERVER_BASE_URL" == "" ]]; then
export SERVER_BASE_URL="http://nextnet-api:3000/"
fi
npm start