Spaces:
Running
Running
| PORT=${PORT:-7860} | |
| if [ "$1" = "--auth" ]; then | |
| exec bun run dist/main.js auth | |
| else | |
| exec bun run dist/main.js start \ | |
| -g "$GH_TOKEN" \ | |
| --port $PORT \ | |
| --host 0.0.0.0 | |
| fi | |
| PORT=${PORT:-7860} | |
| if [ "$1" = "--auth" ]; then | |
| exec bun run dist/main.js auth | |
| else | |
| exec bun run dist/main.js start \ | |
| -g "$GH_TOKEN" \ | |
| --port $PORT \ | |
| --host 0.0.0.0 | |
| fi | |