diff --git a/next.config.js b/next.config.js index f296f91..fa13553 100644 --- a/next.config.js +++ b/next.config.js @@ -2,5 +2,7 @@ const { i18n } = require('./next-i18next.config') module.exports = { i18n, - reactStrictMode: true + reactStrictMode: true, + // Required by Next i18n with API routes, otherwise API routes 404 when fetching without trailing slash + trailingSlash: true }