next.config.js 417 B

123456789101112131415161718192021
  1. 'use strict'
  2. /** @type {import('next').NextConfig} */
  3. const nextConfig = {
  4. basePath: process.env.BASEPATH,
  5. redirects: async () => {
  6. return [
  7. {
  8. source: '/',
  9. destination: '/en',
  10. permanent: true,
  11. locale: false
  12. }
  13. ]
  14. },
  15. // TODO: below line is added to resolve twice event dispatch in the calendar reducer
  16. reactStrictMode: false
  17. }
  18. module.exports = nextConfig