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 utils.ts

Steven Tey23f9ba676103
diff --git a/apps/web/lib/api/utils.ts b/apps/web/lib/api/utils.ts
index 03be300a6c..5458a2f191 100644
--- a/apps/web/lib/api/utils.ts
+++ b/apps/web/lib/api/utils.ts
@@ -61,7 +61,7 @@ export const extractPublishableKey = (req: Request) => {
throw new DubApiError({
code: "bad_request",
message:
- "Missing publishable key. Please pass it either as a Authorization Bearer token or as a `token` query parameter.",
+ "Missing publishable key. Please pass it either as a Authorization Bearer token or as a `token` query parameter. Learn more: https://d.to/pk",
});
}
return token;