fix(agency): force no-store cache on workspace metadata fetch to prevent stale routing
This commit is contained in:
@@ -130,6 +130,7 @@ export default function ProjectsPage() {
|
||||
// Fetch Workspace metadata first to determine routing
|
||||
const wsRes = await fetch(`/api/workspaces/${workspace}`, {
|
||||
credentials: "include",
|
||||
cache: "no-store",
|
||||
});
|
||||
if (wsRes.ok) {
|
||||
const wsData = await wsRes.json();
|
||||
|
||||
Reference in New Issue
Block a user