Fix SQLite path: use AppData on Windows, posix paths for Linux/Docker

This commit is contained in:
2026-04-20 11:30:20 +03:00
parent 4ffe27df95
commit 679d36ab5b
3 changed files with 19 additions and 6 deletions

View File

@@ -2,4 +2,5 @@ SITE_ID=your-unique-site-id
CLOUD_URL=https://your-vps.com
SECRET_KEY=generate-a-long-random-string-here
LICENSE_GRACE_HOURS=24
DATABASE_URL=sqlite:///./pos.db
# DATABASE_URL is set automatically — only override if you know what you're doing
# DATABASE_URL=sqlite:///./pos.db