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

Steven Teyeb0d2944116d
diff --git a/apps/web/app/api/track/click/route.ts b/apps/web/app/api/track/click/route.ts
index 862adbbce9..645c8ba56a 100644
--- a/apps/web/app/api/track/click/route.ts
+++ b/apps/web/app/api/track/click/route.ts
@@ -83,7 +83,7 @@ export const POST = async (req: Request) => {
};
export const OPTIONS = () => {
- return new Response("OK", {
+ return new Response(null, {
status: 204,
headers: CORS_HEADERS,
});