Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

feat(api): add OPTIONS handler for developer API CORS

Richie McIlroy7cb6712f9acd
diff --git a/apps/web/app/api/developer/v1/[...route]/route.ts b/apps/web/app/api/developer/v1/[...route]/route.ts
index 590c20609..0f86c974f 100644
--- a/apps/web/app/api/developer/v1/[...route]/route.ts
+++ b/apps/web/app/api/developer/v1/[...route]/route.ts
@@ -12,3 +12,4 @@ const app = new Hono()
export const GET = handle(app);
export const POST = handle(app);
export const DELETE = handle(app);
+export const OPTIONS = handle(app);