2022-09-11 14:07:24 +00:00
|
|
|
/** @type {import('next').NextConfig} */
|
|
|
|
const nextConfig = {
|
|
|
|
reactStrictMode: true,
|
|
|
|
swcMinify: true,
|
2022-12-31 16:51:36 +00:00
|
|
|
async rewrites() {
|
|
|
|
return {
|
|
|
|
afterFiles: [
|
|
|
|
{
|
|
|
|
source: '/',
|
|
|
|
destination: '/find',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
fallback: [
|
|
|
|
{
|
|
|
|
source: '/:path*',
|
|
|
|
destination: '/404',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
};
|
2022-09-11 14:07:24 +00:00
|
|
|
},
|
|
|
|
images: {
|
|
|
|
domains: ['m.media-amazon.com'],
|
|
|
|
},
|
|
|
|
experimental: {
|
|
|
|
images: {
|
|
|
|
allowFutureImage: true,
|
|
|
|
},
|
|
|
|
isrMemoryCacheSize: 20 * 1024 * 1024,
|
|
|
|
},
|
2022-12-31 16:51:36 +00:00
|
|
|
poweredByHeader: false,
|
2022-09-11 14:07:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default nextConfig;
|