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.

Revert

Kiran Kd9e8ea09b28a
diff --git a/apps/web/app/api/links/sync/route.ts b/apps/web/app/api/links/sync/route.ts
index c1904b7af5..6e9956b19d 100644
--- a/apps/web/app/api/links/sync/route.ts
+++ b/apps/web/app/api/links/sync/route.ts
@@ -82,4 +82,4 @@ export const POST = withAuth(async ({ req, session, project }) => {
]);
return NextResponse.json(response);
-});
\ No newline at end of file
+});
diff --git a/apps/web/app/api/projects/[slug]/domains/[domain]/exists/route.ts b/apps/web/app/api/projects/[slug]/domains/[domain]/exists/route.ts
index 88f74d26bd..4c2b0382cf 100644
--- a/apps/web/app/api/projects/[slug]/domains/[domain]/exists/route.ts
+++ b/apps/web/app/api/projects/[slug]/domains/[domain]/exists/route.ts
@@ -10,4 +10,4 @@ export const GET = withAuth(async ({ domain, project }) => {
} else {
return NextResponse.json(0);
}
-});
\ No newline at end of file
+});
diff --git a/apps/web/app/api/route.ts b/apps/web/app/api/route.ts
index cb4e09bec6..5e6415d6eb 100644
--- a/apps/web/app/api/route.ts
+++ b/apps/web/app/api/route.ts
@@ -1,9 +1,9 @@
import { NextResponse } from "next/server";
+import { OpenAPIV3 } from "openapi-types";
export const runtime = "edge";
-export function GET() {
- // TODO: Remove this once we have all the paths
+export function GET(): NextResponse<OpenAPIV3.Document> {
return NextResponse.json({
openapi: "3.0.3",
info: {
@@ -1052,4 +1052,4 @@ export function GET() {
},
},
});
-}
+}
\ No newline at end of file