2022-08-16 16:50:59 -05:00
|
|
|
/**
|
|
|
|
* @type {import('next').NextConfig}
|
|
|
|
**/
|
2021-06-23 13:20:20 -05:00
|
|
|
module.exports = {
|
2022-02-26 20:19:02 -05:00
|
|
|
async redirects() {
|
|
|
|
return [
|
|
|
|
{
|
|
|
|
source: '/',
|
|
|
|
destination: '/dashboard',
|
|
|
|
permanent: true,
|
|
|
|
},
|
|
|
|
];
|
|
|
|
},
|
2022-08-26 22:04:25 -05:00
|
|
|
webpack(config) {
|
|
|
|
config.resolve.fallback = {
|
|
|
|
...config.resolve.fallback,
|
|
|
|
fs: false, // the solution
|
|
|
|
};
|
|
|
|
|
|
|
|
return config;
|
|
|
|
},
|
2022-07-06 11:57:39 -05:00
|
|
|
poweredByHeader: false,
|
|
|
|
reactStrictMode: true,
|
2022-02-19 23:17:02 -05:00
|
|
|
};
|