0cff34a766
this commit adds basic search feature. fix: https://codeberg.org/zyachel/libremdb/issues/9, https://github.com/zyachel/libremdb/issues/10
33 lines
592 B
JavaScript
33 lines
592 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
swcMinify: true,
|
|
async rewrites() {
|
|
return {
|
|
afterFiles: [
|
|
{
|
|
source: '/',
|
|
destination: '/find',
|
|
},
|
|
],
|
|
fallback: [
|
|
{
|
|
source: '/:path*',
|
|
destination: '/404',
|
|
},
|
|
],
|
|
};
|
|
},
|
|
images: {
|
|
domains: ['m.media-amazon.com'],
|
|
},
|
|
experimental: {
|
|
images: {
|
|
allowFutureImage: true,
|
|
},
|
|
isrMemoryCacheSize: 20 * 1024 * 1024,
|
|
},
|
|
poweredByHeader: false,
|
|
};
|
|
|
|
export default nextConfig;
|