mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
doc: optimization
This commit is contained in:
parent
4f64c974e9
commit
8e09995edf
@ -37,6 +37,7 @@ export const viewport: Viewport = {
|
|||||||
userScalable: false,
|
userScalable: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// optimization: force static for vercel
|
||||||
export const dynamic = process.env.VERCEL ? "force-static" : "auto";
|
export const dynamic = process.env.VERCEL ? "force-static" : "auto";
|
||||||
|
|
||||||
export async function generateStaticParams() {
|
export async function generateStaticParams() {
|
||||||
|
Loading…
Reference in New Issue
Block a user