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-09-23 20:19:27 -05:00
|
|
|
webpack(config) {
|
|
|
|
config.module.rules.push({
|
|
|
|
test: /\.svg$/,
|
|
|
|
use: ['@svgr/webpack'],
|
|
|
|
});
|
|
|
|
|
|
|
|
return config;
|
|
|
|
},
|
|
|
|
images: {
|
|
|
|
domains: [
|
|
|
|
// For sharex icon in manage user
|
|
|
|
'getsharex.com',
|
|
|
|
],
|
|
|
|
},
|
2022-07-06 11:57:39 -05:00
|
|
|
poweredByHeader: false,
|
|
|
|
reactStrictMode: true,
|
2022-02-19 23:17:02 -05:00
|
|
|
};
|