minor updates

This commit is contained in:
Brian Lee 2025-09-28 23:18:09 -07:00
parent 2f3f2d94ef
commit a35ad405d7
4 changed files with 11 additions and 4 deletions

1
.gitignore vendored
View File

@ -21,3 +21,4 @@ Thumbs.db
# Vite
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
.data

6
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,6 @@
{
"recommendations": [
"svelte.svelte-vscode",
"bradlc.vscode-tailwindcss"
]
}

View File

@ -104,7 +104,7 @@ sudo systemctl enable --now plebsaber.service
sudo systemctl status plebsaber.service --no-pager
```
The Node server listens on `0.0.0.0:3000` by default.
The Node server listens on `0.0.0.0:8037` by default.
### 4) Caddy reverse proxy
@ -119,7 +119,7 @@ plebsaber.stream {
path /robots.txt
}
reverse_proxy 127.0.0.1:3000 {
reverse_proxy 127.0.0.1:8037 {
health_uri /healthz
}
@ -168,6 +168,6 @@ ssh user@server 'sudo -u plebsaber bash -lc "cd /srv/plebsaber/app && tar -xzf p
- This project is configured with `@sveltejs/adapter-node` and includes server routes under `src/routes/api/beatleader/...` for server-side BeatLeader requests.
- If you need environment variables, set them in the systemd unit with `Environment=KEY=VALUE` or `EnvironmentFile=`.
- Ensure your firewall allows inbound 80/443 (Caddy) and blocks 3000 from the internet.
- Ensure your firewall allows inbound 80/443 (Caddy) and blocks 8037 from the internet.

View File

@ -7,7 +7,7 @@
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"start": "node build/index.js",
"start": "PORT=8037 node build/index.js",
"prepare": "svelte-kit sync || echo ''",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",