feat(search): add basic search functionality
this commit adds basic search feature. fix: https://codeberg.org/zyachel/libremdb/issues/9, https://github.com/zyachel/libremdb/issues/10
This commit is contained in:
@ -2,14 +2,21 @@
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
swcMinify: true,
|
||||
async redirects() {
|
||||
return [
|
||||
{
|
||||
source: '/',
|
||||
destination: '/about',
|
||||
permanent: true,
|
||||
},
|
||||
];
|
||||
async rewrites() {
|
||||
return {
|
||||
afterFiles: [
|
||||
{
|
||||
source: '/',
|
||||
destination: '/find',
|
||||
},
|
||||
],
|
||||
fallback: [
|
||||
{
|
||||
source: '/:path*',
|
||||
destination: '/404',
|
||||
},
|
||||
],
|
||||
};
|
||||
},
|
||||
images: {
|
||||
domains: ['m.media-amazon.com'],
|
||||
@ -20,6 +27,7 @@ const nextConfig = {
|
||||
},
|
||||
isrMemoryCacheSize: 20 * 1024 * 1024,
|
||||
},
|
||||
poweredByHeader: false,
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
|
Reference in New Issue
Block a user