From 48dc0f152e0f90254b708e6d61b92398305a2c93 Mon Sep 17 00:00:00 2001 From: jerensl <54782057+jerensl@users.noreply.github.com> Date: Mon, 1 Jul 2024 12:49:51 +0800 Subject: [PATCH] chore(website-costum-404): add costum 404 from nextjs app --- modelina-website/netlify.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modelina-website/netlify.toml b/modelina-website/netlify.toml index eb789cb4db..004f03eb82 100644 --- a/modelina-website/netlify.toml +++ b/modelina-website/netlify.toml @@ -9,3 +9,9 @@ [functions] directory = ".next/server/pages/api" + +# Show a custom 404 for this path +[[redirects]] +from = "/" +to = "/404" +status = 404 \ No newline at end of file