mirror of
https://github.com/Smile-QWQ/SubTracker.git
synced 2026-09-03 14:28:03 +08:00
- add a dedicated app locale endpoint and move locale persistence from settings to appLocale with env-based defaults - sync the app shell and login bootstrap flow against the resolved backend locale while keeping localStorage only as a cache - reject locale updates through PATCH /settings and cover the migration and locale route behavior with regression tests
11 lines
211 B
Plaintext
11 lines
211 B
Plaintext
PORT=3001
|
|
HOST=0.0.0.0
|
|
DATABASE_URL="file:./dev.db"
|
|
WEB_ORIGIN="http://localhost:5173"
|
|
LOG_LEVEL=warn
|
|
BASE_CURRENCY=CNY
|
|
DEFAULT_APP_LOCALE=zh-CN
|
|
TZ=Asia/Shanghai
|
|
CRON_SCAN=* * * * *
|
|
CRON_REFRESH_RATES=0 2 * * *
|