vegancheck.me/next.config.js
2023-03-28 13:03:54 +02:00

23 lines
No EOL
435 B
JavaScript

const withPWA = require('next-pwa')({
dest: 'public',
swSrc: 'service-worker.js'
})
/** @type {import('next').NextConfig} */
module.exports = withPWA({
reactStrictMode: true,
productionBrowserSourceMaps: true,
i18n: {
locales: ['de', 'en', 'fr', 'es'],
defaultLocale: 'en',
},
async rewrites() {
return [
{
source: '/datenschutz',
destination: '/privacy-policy',
},
]
}
});