Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

add routing for change email

Maksim Mrug91f6c280dbf0
diff --git a/app/routes/change-email.$id.tsx b/app/routes/change-email.$id.tsx
new file mode 100644
index 000000000..33ac0174b
--- /dev/null
+++ b/app/routes/change-email.$id.tsx
@@ -0,0 +1,13 @@
+import VerifyEmail from 'pages/Auth/VerifyEmail'
+import type { V2_MetaFunction } from '@remix-run/node'
+
+export const meta: V2_MetaFunction = () => {
+ return [
+ { title: 'Change Email' },
+ { name: 'description', content: 'Change Email' },
+ ]
+}
+
+export default function Index() {
+ return <VerifyEmail />
+}
diff --git a/app/routesPath/index.ts b/app/routesPath/index.ts
index 6666ce850..041923c1f 100644
--- a/app/routesPath/index.ts
+++ b/app/routesPath/index.ts
@@ -8,7 +8,7 @@ const routes = Object.freeze({
main: '/',
dashboard: '/dashboard',
user_settings: '/settings',
- verify: '/verify/:id',
+ verify: '/verify-email/:id',
change_email: '/change-email/:id',
new_project: '/projects/new',
new_captcha: '/captchas/new',