mirror of
https://github.com/vercel/commerce.git
synced 2025-05-12 12:47:50 +00:00
25 lines
461 B
JavaScript
25 lines
461 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
module.exports = {
|
|
eslint: {
|
|
// Disabling on production builds because we're running checks on PRs via GitHub Actions.
|
|
ignoreDuringBuilds: true
|
|
},
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'http',
|
|
hostname: 'localhost'
|
|
}
|
|
]
|
|
},
|
|
async redirects() {
|
|
return [
|
|
{
|
|
source: '/password',
|
|
destination: '/',
|
|
permanent: true
|
|
}
|
|
];
|
|
}
|
|
};
|