mirror of
https://github.com/bitbaum/botsmann.git
synced 2026-12-04 15:58:20 +01:00
fix: update Netlify and Next.js config for proper static export
Co-Authored-By: G <butaeff@gmail.com>
This commit is contained in:
1 parent
4e59c5145f
commit
8a67b58cd5
2 files changed
+6
No files matched your search
@@ -18,6 +18,11 @@
|
||||
to = "/.netlify/functions/api/:splat"
|
||||
status = 200
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/404.html"
|
||||
status = 404
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
|
||||
@@ -8,6 +8,7 @@ const nextConfig = {
|
||||
config.resolve.fallback = { fs: false, path: false }
|
||||
return config
|
||||
},
|
||||
trailingSlash: true,
|
||||
};
|
||||
|
||||
module.exports = nextConfig;
|
||||
Reference in new issue
Block a user