borgwarehouse/next.config.js
2022-12-01 13:25:10 +01:00

26 lines
564 B
JavaScript

/** @type {import('next').NextConfig} */
module.exports = {
// nextConfig
images: {
unoptimized: true,
},
reactStrictMode: false,
swcMinify: true,
//basePath: '/borgwarehouse-demo',
async redirects() {
return [
{
source: '/setup-wizard',
destination: '/setup-wizard/1',
permanent: true,
},
{
source: '/manage-repo',
destination: '/',
permanent: true,
},
];
},
};