pm2 file and redirect fix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-03-19 03:11:52 +03:00
parent e733ca9cc3
commit 12a482324c
4 changed files with 41 additions and 8 deletions

View File

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