diff --git a/next.config.js b/next.config.js index ed7ce928..ceee4afa 100644 --- a/next.config.js +++ b/next.config.js @@ -23,6 +23,11 @@ const nextConfig = { destination: '/sitemap.xml', permanent: false, }, + { + source: '/teams/map', + destination: '/map/teams', + permanent: true, + }, { source: '/buildteams/:id*', destination: '/teams/:id*', diff --git a/src/pages/map/index.tsx b/src/pages/map/index.tsx index dd75d9a5..4dc7d753 100644 --- a/src/pages/map/index.tsx +++ b/src/pages/map/index.tsx @@ -85,7 +85,11 @@ const MapPage: NextPage = () => { }, [query, map]); return ( - + actions} diff --git a/src/pages/map/teams.tsx b/src/pages/map/teams.tsx index 67500da8..5d773ec3 100644 --- a/src/pages/map/teams.tsx +++ b/src/pages/map/teams.tsx @@ -42,7 +42,7 @@ const MapPage: NextPage = ({ data }: any) => { ); return ( - +