security-checklist/next.config.js

26 lines
482 B
JavaScript
Raw Normal View History

2019-09-07 13:44:52 +00:00
module.exports = {
target: 'serverless',
webpack: config => {
// Fixes npm packages that depend on `fs` module
config.node = {
fs: 'empty',
};
return config;
},
2020-11-25 01:35:23 +00:00
async redirects() {
return [
{
source: '/',
destination: 'https://brianlovin.com/security',
permanent: true,
},
{
source: '/about',
destination: 'https://brianlovin.com/security',
permanent: true,
},
]
},
2019-09-07 13:44:52 +00:00
};