This commit is contained in:
svemagie
2026-03-08 03:51:33 +01:00
parent d2218fe266
commit b72b23ed1c
2 changed files with 7 additions and 2 deletions

View File

@@ -32,7 +32,10 @@ if [ -z "${GH_CONTENT_TOKEN:-}" ] && [ -z "${GITHUB_TOKEN:-}" ]; then
exit 1
fi
export NODE_ENV="${NODE_ENV:-production}"
# Force production runtime and keep debug logging disabled.
export NODE_ENV="production"
export INDIEKIT_DEBUG="0"
unset DEBUG
# Verify MongoDB credentials/connectivity before launching server.
/usr/local/bin/node scripts/preflight-mongo-connection.mjs