Files
warframe-center/app/next.config.js
Anatoly 76bf04f8de
All checks were successful
continuous-integration/drone/push Build is passing
Fix redirect and restart frontend on push
2022-03-19 03:38:25 +03:00

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
)