Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

address review (codex): preserve query params on legacy spotify/youtube redirects

[._.]/ Adam Eivyb4a8efef4076
diff --git a/client/src/App.jsx b/client/src/App.jsx
index cbcdeb5702..0a5d1cb6a5 100644
--- a/client/src/App.jsx
+++ b/client/src/App.jsx
@@ -324,8 +324,8 @@ export default function App() {
{/* Spotify/YouTube sync feed the activity Timeline, which lives in
Brain — moved alongside it so they show up in the same sidebar
section as the data they populate. */}
- <Route path="settings/spotify" element={<Navigate to="/brain/spotify" replace />} />
- <Route path="settings/youtube" element={<Navigate to="/brain/youtube" replace />} />
+ <Route path="settings/spotify" element={<RedirectWithSearch to="/brain/spotify" />} />
+ <Route path="settings/youtube" element={<RedirectWithSearch to="/brain/youtube" />} />
<Route path="settings/:tab" element={<Settings />} />
<Route path="api-reference" element={<Navigate to="/api-reference/catalog" replace />} />
<Route path="api-reference/:tab" element={<ApiExplorer />} />
diff --git a/server/services/spotifySync.js b/server/services/spotifySync.js
index 72998ef3ec..93194d3277 100644
--- a/server/services/spotifySync.js
+++ b/server/services/spotifySync.js
@@ -176,7 +176,7 @@ async function doRunSync() {
return null;
});
if (!accessToken) {
- return { ok: false, needsAuth: true, error: 'Spotify not connected — authorize in Settings → Spotify.' };
+ return { ok: false, needsAuth: true, error: 'Spotify not connected — authorize in Brain → Spotify.' };
}
const started = Date.now();