much supahvised (#31)

This commit is contained in:
Dustin Decker 2023-01-30 09:14:19 -08:00 committed by GitHub
parent 999e0d701c
commit 7cbd6b7cac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,8 @@
#!/usr/bin/env bash
echo "Starting server..."
node server.js
if [ "$NODE_ENV" = "development" ]; then
node server.js
else
pm2-runtime server.js
fi