Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
507 B
2
Indexable
Never
const nextConfig = {
  experimental: {
    appDir: true,
  },
  images: {
    domains: ['upload.wikimedia.org'],
  },
  async redirects () {
    return [
      {
        source: '/',
        destination: '/login',
        permanent: true,
      },
      {
        source: '/dashboard',
        destination: '/dashboard/affico',
        permanent: true,
      },
    ];
  },
  i18n: {
    locales: ['en', 'es'],
    defaultLocale: 'en'
  },
  env: {
    REACT_APP_API_URL: process.env.REACT_APP_API_URL
  }
}