onedrive/next.config.js

8 lines
233 B
JavaScript

const { i18n } = require('./next-i18next.config')
module.exports = {
i18n,
reactStrictMode: true,
// Required by Next i18n with API routes, otherwise API routes 404 when fetching without trailing slash
trailingSlash: true
}