diff --git a/src/pages/_app.jsx b/src/pages/_app.jsx index 3284dcdf..6860b48d 100644 --- a/src/pages/_app.jsx +++ b/src/pages/_app.jsx @@ -23,12 +23,9 @@ export default function App({ Component, pageProps }) { return ( <> - {router.pathname === '/' ? ( - NetBird Docs - ) : ( - router.pathname.startsWith('/docs') ? - {`${pageProps.title} - NetBird Docs`} : {`${pageProps.title} - NetBird API`} - )} + {router.route.startsWith('/ipa') ? + {`${pageProps.title} - NetBird API`} : {`${pageProps.title} - NetBird Docs`} + }