mirror of
https://github.com/Ravinou/borgwarehouse
synced 2024-06-29 10:50:32 +02:00
26 lines
564 B
JavaScript
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,
|
|
},
|
|
];
|
|
},
|
|
};
|