fix(spotify): apply UI-entered Client ID to live SpotifyOAuth without restart [whole-branch I2]

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
saopig1andClaude Opus 4.8 committed 2026-07-03 01:49:33 +08:00
1 parent 399cf0cf41
commit d796dd48ff
5 files changed
+149

No files matched your search

+3
View File
@@ -132,6 +132,9 @@ export function createWebServer(options: WebServerOptions): WebServer {
options.database,
options.avatarStore,
(cfg) => onGuestPolicyChanged(cfg),
// I2: so saving a Client ID in Settings re-configures the live OAuth
// (no restart needed for the UI-entered-creds -> Connect flow).
options.spotifyOAuth,
)
);
app.use(