diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-03-16 20:49:54 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-03-16 20:49:54 +0000 |
| commit | 48aec51b531d995574c5788e5f474343cc6e5c87 (patch) | |
| tree | 72590561f22185707e9bac65d6d14c21f69f309f /internal/api/websocket.go | |
| parent | 7f920ca63af5329c19a0e5a879c649c594beea35 (diff) | |
fix: persist VAPID keys in DB instead of config file
The service runs as www-data which cannot write to the root-owned
config file. VAPID keys are now stored in the settings table in
SQLite (which is writable), loaded on startup, and generated once.
Removes saveVAPIDToConfig and the stale warning on every restart.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/api/websocket.go')
0 files changed, 0 insertions, 0 deletions
