Compare commits

...

2 Commits

Author SHA1 Message Date
saml33 bed2af51b8 redirect www 2024-03-07 14:35:23 +11:00
saml33 09b334d77c fix sitemap 2024-03-07 13:33:04 +11:00
3 changed files with 9 additions and 3 deletions

View File

@ -125,11 +125,11 @@ async function sitemap(): Promise<MetadataRoute.Sitemap> {
lastModified: new Date(lastUpdate),
},
{
url: 'https://mango.markets/explore/blog',
url: 'https://mango.markets/blog',
lastModified: new Date(lastUpdate),
},
{
url: 'https://mango.markets/explore/learn',
url: 'https://mango.markets/learn',
lastModified: new Date(lastUpdate),
},
)

View File

@ -25,6 +25,12 @@ const nextConfig = {
reactStrictMode: true,
async redirects() {
return [
{
source: '/:path*',
has: [{ type: 'host', value: 'www.mango.markets' }],
destination: 'https://mango.markets/:path*',
permanent: true,
},
{
source: '/explore',
destination: '/explore/tokens',

File diff suppressed because one or more lines are too long