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 verify-vercel.ts

Kiran K4668687a59ca
diff --git a/apps/web/lib/cron/verify-vercel.ts b/apps/web/lib/cron/verify-vercel.ts
index c5bc130aeb..d74d7bd9f5 100644
--- a/apps/web/lib/cron/verify-vercel.ts
+++ b/apps/web/lib/cron/verify-vercel.ts
@@ -2,9 +2,9 @@ import { DubApiError } from "../api/errors";
export const verifyVercelSignature = async (req: Request) => {
// skip verification in local development
- // if (process.env.VERCEL !== "1") {
- // return;
- // }
+ if (process.env.VERCEL !== "1") {
+ return;
+ }
const authHeader = req.headers.get("authorization");