mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-03 01:42:50 +08:00
Add admin panel for live gateway settings
/admin (enabled by ADMIN_USER + ADMIN_PASSWORD) lets self-hosters change most .env settings at runtime. Overrides live in ADMIN_CONFIG_FILE and are written onto process.env, so the modules now read their settings at use time instead of at load time. - Sidebar navigation with search, DE/EN, light/dark, phone layout - "Restart required" group (PORT, TLS, paths, WEB_STATIC) plus a restart button that goes through the graceful SIGTERM path - Status line: version, uptime, connected users - Optional TOTP 2FA: QR setup, code check, switch on/off in the panel - Password change in the panel (scrypt hash in ADMIN_AUTH_FILE); every credential change re-asks the current password; deleting the file falls back to .env - Login rate limits, CSRF header, HttpOnly/SameSite session cookie, CSP Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
1 parent
b856094b48
commit
3f69692d79
12 files changed
+952
-80
No files matched your search
@@ -10,6 +10,7 @@
|
||||
"start": "node dist/index.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"qrcode-generator": "^1.4.4",
|
||||
"ws": "^8.18.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in new issue
Block a user