fix: redirection
This commit is contained in:
parent
7c92acad15
commit
3a9f9b819e
@ -11,7 +11,7 @@ export default async function Page({ slug }: PageProps) {
|
|||||||
const page = await fetchPageBySlug({ slug });
|
const page = await fetchPageBySlug({ slug });
|
||||||
|
|
||||||
if (!page) {
|
if (!page) {
|
||||||
redirect("/404");
|
redirect("/page/not-found");
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user