zipline/next.config.js
2022-08-26 20:04:25 -07:00

24 lines
No EOL
414 B
JavaScript

/**
* @type {import('next').NextConfig}
**/
module.exports = {
async redirects() {
return [
{
source: '/',
destination: '/dashboard',
permanent: true,
},
];
},
webpack(config) {
config.resolve.fallback = {
...config.resolve.fallback,
fs: false, // the solution
};
return config;
},
poweredByHeader: false,
reactStrictMode: true,
};