Serve the prerendered site from Node instead of nginx root.

Avoids www-data traversing the cashumints tree and keeps rebuilds from blanking a live root.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
michilis
2026-08-25 06:27:27 +02:00
co-authored by Cursor
parent 301679d340
commit 79a115be38
6 changed files with 875 additions and 125 deletions
+1
View File
@@ -8,6 +8,7 @@
"og": "node scripts/og/build-og.mjs",
"og:fixtures": "node scripts/og/build-og.mjs --fixtures",
"build": "node scripts/og/build-og.mjs && astro build",
"start": "node server.mjs",
"preview": "astro preview",
"typecheck": "astro check",
"bones": "node --env-file-if-exists=../.env scripts/bones.mjs",