21 lines
462 B
JavaScript
21 lines
462 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
typescript: {
|
|
ignoreBuildErrors: true,
|
|
},
|
|
env: {
|
|
NEXT_PUBLIC_API_BASE: process.env.NEXT_PUBLIC_API_BASE,
|
|
},
|
|
async redirects() {
|
|
return [
|
|
{ // we redirect '/' to '/dashboard
|
|
source: '/',
|
|
destination: '/dashboard',
|
|
permanent: true,
|
|
},
|
|
]
|
|
},
|
|
}
|
|
|
|
module.exports = nextConfig
|