29 lines
442 B
JavaScript
29 lines
442 B
JavaScript
const withPlugins = require('next-compose-plugins')
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: true
|
|
// webpack: (config, { webpack }) => {
|
|
// return config
|
|
// },
|
|
}
|
|
|
|
const redirects = {
|
|
async redirects () {
|
|
return [
|
|
{
|
|
source: '/',
|
|
destination: '/home',
|
|
permanent: true
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
module.exports = withPlugins(
|
|
[
|
|
[redirects]
|
|
],
|
|
nextConfig
|
|
)
|