Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

add canonical url to login page

Steven Teyd08773ba1a49
diff --git a/apps/web/app/app.dub.co/(auth)/login/page.tsx b/apps/web/app/app.dub.co/(auth)/login/page.tsx
index 755c7e3afa..dc9eeef84c 100644
--- a/apps/web/app/app.dub.co/(auth)/login/page.tsx
+++ b/apps/web/app/app.dub.co/(auth)/login/page.tsx
@@ -1,10 +1,11 @@
import LoginForm from "@/ui/auth/login/login-form";
import { AuthLayout } from "@/ui/layout/auth-layout";
-import { constructMetadata } from "@dub/utils";
+import { APP_DOMAIN, constructMetadata } from "@dub/utils";
import Link from "next/link";
export const metadata = constructMetadata({
title: `Sign in to ${process.env.NEXT_PUBLIC_APP_NAME}`,
+ canonicalUrl: `${APP_DOMAIN}/login`,
});
export default function LoginPage() {