ironGym/webapp/next.config.js
2025-07-03 01:40:14 +03:00

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