diff --git a/netlify.toml b/netlify.toml index 25ac06a..8949e1f 100644 --- a/netlify.toml +++ b/netlify.toml @@ -18,6 +18,11 @@ to = "/.netlify/functions/api/:splat" status = 200 +[[redirects]] + from = "/*" + to = "/404.html" + status = 404 + [[redirects]] from = "/*" to = "/index.html" diff --git a/next.config.js b/next.config.js index 68a6ca5..1b3ecef 100644 --- a/next.config.js +++ b/next.config.js @@ -8,6 +8,7 @@ const nextConfig = { config.resolve.fallback = { fs: false, path: false } return config }, + trailingSlash: true, }; module.exports = nextConfig;