diff --git a/frontend/src/pages/mii/[id].astro b/frontend/src/pages/mii/[id].astro index dad539e..84f13f8 100644 --- a/frontend/src/pages/mii/[id].astro +++ b/frontend/src/pages/mii/[id].astro @@ -4,7 +4,11 @@ import Layout from "../../layout.astro"; const { id } = Astro.params; -export const prerender = false; +export async function getStaticPaths() { + return Array.from({ length: 30000 }, (_, i) => ({ + params: { id: String(i + 1) }, + })); +} --- diff --git a/frontend/src/pages/profile/[id].astro b/frontend/src/pages/profile/[id].astro index cc15f16..5b18878 100644 --- a/frontend/src/pages/profile/[id].astro +++ b/frontend/src/pages/profile/[id].astro @@ -4,7 +4,11 @@ import Layout from "../../layout.astro"; const { id } = Astro.params; -export const prerender = false; +export async function getStaticPaths() { + return Array.from({ length: 50000 }, (_, i) => ({ + params: { id: String(i + 1) }, + })); +} ---