Rename /analytics to /stats to work around adblockers (#437)
* Rename /analytics to /stats to work around adblockers * Fix prettier lint
This commit is contained in:
parent
4aec46f880
commit
2ac7caaf24
|
@ -34,6 +34,11 @@ module.exports = {
|
|||
destination: API_DOCS_URL,
|
||||
permanent: false,
|
||||
},
|
||||
{
|
||||
source: '/analytics',
|
||||
destination: '/stats',
|
||||
permanent: true,
|
||||
},
|
||||
]
|
||||
},
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ import Analytics, {
|
|||
CustomAnalytics,
|
||||
FirebaseAnalytics,
|
||||
getStaticPropz,
|
||||
} from '../analytics'
|
||||
} from '../stats'
|
||||
|
||||
export const getStaticProps = fromPropz(getStaticPropz)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user