feat: prerender and disable csr on other pages

This commit is contained in:
Youwen Wu 2024-04-04 17:35:23 -07:00
parent 56a3c6ecf4
commit 3137cd9b25
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
3 changed files with 5 additions and 0 deletions

View file

@ -0,0 +1,2 @@
export const csr = false;
export const prerender = true;

View file

@ -4,6 +4,7 @@ import markedKatex from 'marked-katex-extension';
import markedAlert from 'marked-alert'; import markedAlert from 'marked-alert';
export const prerender = true; export const prerender = true;
export const csr = false;
const options = { const options = {
throwOnError: false throwOnError: false

View file

@ -0,0 +1,2 @@
export const prerender = true;
export const csr = false;