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.

Update index.ts

Steven Teyf19486839ce8
diff --git a/apps/web/lib/auth/index.ts b/apps/web/lib/auth/index.ts
index d009498f61..0528905c16 100644
--- a/apps/web/lib/auth/index.ts
+++ b/apps/web/lib/auth/index.ts
@@ -123,7 +123,7 @@ export const withAuth =
if (authorizationHeader) {
if (!authorizationHeader.includes("Bearer ")) {
return new Response(
- "Misconfigured authorization header. Did you forget to add 'Bearer '? Learn more: https://dub.sh/auth ",
+ "Misconfigured authorization header. Did you forget to add 'Bearer '? Learn more: https://d.to/auth ",
{
status: 400,
},
@@ -438,7 +438,7 @@ export const withSession =
if (authorizationHeader) {
if (!authorizationHeader.includes("Bearer ")) {
return new Response(
- "Misconfigured authorization header. Did you forget to add 'Bearer '? Learn more: https://dub.sh/auth ",
+ "Misconfigured authorization header. Did you forget to add 'Bearer '? Learn more: https://d.to/auth ",
{
status: 400,
},