diff --git a/packages/web/next.config.js b/packages/web/next.config.js index 8d3c2378a..db1d4b245 100644 --- a/packages/web/next.config.js +++ b/packages/web/next.config.js @@ -96,6 +96,11 @@ const moduleExports = { destination: '/.well-known/security.txt', permanent: true, }, + { + source: '/privacy', + destination: 'https://docs.omnivore.app/about/privacy', + permanent: true, + }, { source: '/install/chrome', destination: diff --git a/packages/web/pages/privacy.tsx b/packages/web/pages/privacy.tsx deleted file mode 100644 index 6ecdbf013..000000000 --- a/packages/web/pages/privacy.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import { useRouter } from 'next/router' -import { PrivacyPolicy } from '../components/templates/PrivacyPolicy' -import { SettingsLayout } from '../components/templates/SettingsLayout' - -export default function Privacy(): JSX.Element { - const router = useRouter() - const appEmbedViewQuery = router.query.isAppEmbedView as string | undefined - const isAppEmbedView = (appEmbedViewQuery ?? '').length > 0 - - if (isAppEmbedView) { - return - } else { - return ( - - - - ) - } -}