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.

168 B
Raw Blame
export const detectQr = (req: Request) => {
  const searchParams = new URL(req.url).searchParams;
  if (searchParams.get("qr") === "1") return true;
  return false;
};