Skip to content

Commit f327345

Browse files
committed
chore: revert caching strategies
1 parent 9dd1316 commit f327345

4 files changed

Lines changed: 8 additions & 0 deletions

File tree

core/app/[locale]/(default)/(auth)/login/token/[token]/route.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,5 @@ export async function GET(_: Request, { params }: { params: Promise<{ token: str
3232
redirect(`/login?error=InvalidToken`);
3333
}
3434
}
35+
36+
export const dynamic = 'force-dynamic';

core/app/[locale]/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,3 +151,5 @@ export default async function RootLayout({ params, children }: Props) {
151151
export function generateStaticParams() {
152152
return routing.locales.map((locale) => ({ locale }));
153153
}
154+
155+
export const fetchCache = 'default-cache';

core/app/favicon.ico/route.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,5 @@ export const GET = async () => {
4747
},
4848
});
4949
};
50+
51+
export const dynamic = 'force-static';

core/app/robots.txt/route.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,5 @@ export const GET = async () => {
5555
},
5656
});
5757
};
58+
59+
export const dynamic = 'force-static';

0 commit comments

Comments
 (0)