fix: update Netlify and Next.js config for proper static export

Co-Authored-By: G <butaeff@gmail.com>
This commit is contained in:
Devin AIandcato committed 2025-02-12 14:56:47 +00:00
1 parent 4e59c5145f
commit 8a67b58cd5
2 files changed
+6

No files matched your search

+5
View File
@@ -18,6 +18,11 @@
to = "/.netlify/functions/api/:splat"
status = 200
[[redirects]]
from = "/*"
to = "/404.html"
status = 404
[[redirects]]
from = "/*"
to = "/index.html"
+1
View File
@@ -8,6 +8,7 @@ const nextConfig = {
config.resolve.fallback = { fs: false, path: false }
return config
},
trailingSlash: true,
};
module.exports = nextConfig;