Skip to content

Commit

Permalink
chore(apps/web): furo redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
LufyCZ committed Aug 6, 2024
1 parent 3ae1f80 commit e36d797
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
20 changes: 11 additions & 9 deletions apps/web/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const bundleAnalyzer = withBundleAnalyzer({
enabled: false && process.env.NODE_ENV !== 'development',
})

const FURO_URL = 'https://furo.sushi.com'
const FURO_URL = 'https://pay.sushi.com'

/** @type {import('next').NextConfig} */
const nextConfig = bundleAnalyzer({
Expand Down Expand Up @@ -68,6 +68,16 @@ const nextConfig = bundleAnalyzer({
permanent: true,
destination: '/swap?chainId=2046399126',
},
{
source: '/furo',
permanent: true,
destination: `${FURO_URL}`,
},
{
source: '/furo/:path*',
permanent: true,
destination: `${FURO_URL}/:path*`,
},
]
},
async rewrites() {
Expand All @@ -94,14 +104,6 @@ const nextConfig = bundleAnalyzer({
// ],
// destination: '/pay/:path*',
// },
{
source: '/furo',
destination: `${FURO_URL}/furo`,
},
{
source: '/furo/:path*',
destination: `${FURO_URL}/furo/:path*`,
},
]
},
})
Expand Down
5 changes: 1 addition & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e36d797

Please sign in to comment.