hub-api-playground / next.config.js
Esteves Enzo
add redirect to first route
40c26ae
raw
history blame contribute delete
356 Bytes
/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
serverActions: true,
serverComponentsExternalPackages: ['sharp', 'onnxruntime-node'],
},
redirects: async () => {
return [
{
source: '/',
destination: '/search/0',
permanent: true,
},
]
}
}
module.exports = nextConfig