use --remote with file: URL for production DB

This commit is contained in:
Lewis Wynne 2026-04-05 01:44:19 +01:00
parent c0d1feaacd
commit 9a30e68b56

View file

@ -3,7 +3,7 @@
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "astro dev --port 4322", "dev": "astro dev --port 4322",
"build": "ASTRO_DATABASE_FILE=data/guestbook.db astro build && node scripts/generate-stats.js", "build": "astro build --remote && node scripts/generate-stats.js",
"preview": "astro preview" "preview": "astro preview"
}, },
"dependencies": { "dependencies": {