mirror of
https://github.com/Ravinou/borgwarehouse
synced 2024-05-04 14:53:15 +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,
|
||
|
},
|
||
|
];
|
||
|
},
|
||
|
};
|