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:
zyachel
2022-12-31 22:21:36 +05:30
parent 81eaf2fd5e
commit 0cff34a766
25 changed files with 1191 additions and 60 deletions

View File

@ -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;