This commit is contained in:
2026-08-22 19:36:03 +02:00
parent 4e3c5b641e
commit ed33fbb230
3 changed files with 14 additions and 8 deletions
+5 -5
View File
@@ -1,9 +1,9 @@
# ── SQLite (default for local dev) ──
DB_DRIVER=sqlite
SQLITE_PATH=./data/surprise.db
# ── Postgres (default) ──
DB_DRIVER=postgres
DATABASE_URL=postgres://surprise:surprise_dev_password@localhost:5432/surprise?sslmode=disable
# ── Postgres (uncomment and set DB_DRIVER=postgres to use) ──
# DATABASE_URL=postgres://surprise:surprise_dev_password@localhost:5432/surprise?sslmode=disable
# ── SQLite (set DB_DRIVER=sqlite to use) ──
# SQLITE_PATH=./data/surprise.db
PORT=8080
CORS_ORIGIN=http://localhost:5173,http://127.0.0.1:5173