mirror of
https://github.com/cerc-io/mars-interface.git
synced 2024-12-22 12:17:45 +00:00
53 lines
1.1 KiB
JavaScript
53 lines
1.1 KiB
JavaScript
/** @type {import('next').NextConfig} */
|
|
|
|
const path = require('path')
|
|
|
|
const moduleExports = {
|
|
reactStrictMode: true,
|
|
experimental: { images: { unoptimized: true } },
|
|
sassOptions: {
|
|
includePaths: [path.join(__dirname, 'src/styles')],
|
|
},
|
|
async redirects() {
|
|
return [
|
|
{
|
|
source: '/',
|
|
destination: '/redbank',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/farm/vault/:address/create',
|
|
destination: '/farm/',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/farm/vault/:address/create/setup',
|
|
destination: '/farm/',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/farm/vault/:address/edit',
|
|
destination: '/farm/',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/farm/vault/:address/unlock',
|
|
destination: '/farm',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/farm/vault/:address/close',
|
|
destination: '/farm',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/farm/vault/:address/repay',
|
|
destination: '/farm',
|
|
permanent: true,
|
|
},
|
|
]
|
|
},
|
|
}
|
|
|
|
module.exports = moduleExports
|