feat: remove SSR for dasboard page

This commit is contained in:
Sonny
2024-11-15 18:42:42 +01:00
parent eac0c135d6
commit 6005374340
5 changed files with 26 additions and 7 deletions

2
config/ssr.ts Normal file
View File

@@ -0,0 +1,2 @@
export const CSR_ROUTES = ['dashboard'];
export const isSSREnableForPage = (page: string) => !CSR_ROUTES.includes(page);