pm2 file and redirect fix
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -1,16 +1,30 @@
|
||||
const withPlugins = require('next-compose-plugins')
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
redirects: [
|
||||
{
|
||||
source: '/',
|
||||
destination: '/home',
|
||||
permanent: true
|
||||
}
|
||||
]
|
||||
reactStrictMode: true
|
||||
// webpack: (config, { webpack }) => {
|
||||
// return config
|
||||
// },
|
||||
}
|
||||
|
||||
const redirects = {
|
||||
async redirects () {
|
||||
return [
|
||||
{
|
||||
source: '/',
|
||||
destination: '/home',
|
||||
permanent: true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = withPlugins(
|
||||
[
|
||||
[redirects]
|
||||
],
|
||||
nextConfig
|
||||
)
|
||||
|
||||
module.exports = nextConfig
|
||||
|
||||
Reference in New Issue
Block a user