fix(agency): force no-store cache on workspace metadata fetch to prevent stale routing

This commit is contained in:
2026-06-08 13:18:43 -07:00
parent 63b16e76bb
commit 0d5ec04f5c

View File

@@ -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();