Update _app.tsx

This commit is contained in:
Jonathan Summers-Muir committed 2023-05-04 15:12:10 +08:00
1 parent 3799df45fc
commit 304bbf212f
1 file changed
+1 -1
+1 -1
View File
@@ -64,7 +64,7 @@ function MyApp({ Component, pageProps }: AppPropsWithLayout) {
* Send page telemetry on first page load
*/
if (router.isReady) {
handlePageTelemetry(router.asPath)
handlePageTelemetry(router.basePath + router.asPath)
}
}, [router.isReady])