zipline/next.config.js

30 lines
501 B
JavaScript
Raw Normal View History

2022-08-16 16:50:59 -05:00
/**
* @type {import('next').NextConfig}
**/
2021-06-23 13:20:20 -05:00
module.exports = {
async redirects() {
return [
{
source: '/',
destination: '/dashboard',
permanent: true,
},
];
},
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,
};