diff --git a/web/next.config.js b/web/next.config.js index 917d72b3..80d4ac96 100644 --- a/web/next.config.js +++ b/web/next.config.js @@ -34,6 +34,11 @@ module.exports = { destination: API_DOCS_URL, permanent: false, }, + { + source: '/analytics', + destination: '/stats', + permanent: true, + }, ] }, } diff --git a/web/pages/embed/analytics.tsx b/web/pages/embed/analytics.tsx index 564c4abc..be850fdf 100644 --- a/web/pages/embed/analytics.tsx +++ b/web/pages/embed/analytics.tsx @@ -5,7 +5,7 @@ import Analytics, { CustomAnalytics, FirebaseAnalytics, getStaticPropz, -} from '../analytics' +} from '../stats' export const getStaticProps = fromPropz(getStaticPropz) diff --git a/web/pages/analytics.tsx b/web/pages/stats.tsx similarity index 100% rename from web/pages/analytics.tsx rename to web/pages/stats.tsx