Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
import eq
Brendan Allan184e802a2336
diff --git a/apps/web/app/api/desktop/subscribe/route.ts b/apps/web/app/api/desktop/subscribe/route.tsindex 68d62baaa..2ab70531b 100644--- a/apps/web/app/api/desktop/subscribe/route.ts+++ b/apps/web/app/api/desktop/subscribe/route.ts@@ -4,6 +4,7 @@ import { users } from "@cap/database/schema";import { getCurrentUser } from "@cap/database/auth/session";import { cookies } from "next/headers";import { isUserOnProPlan, stripe } from "@cap/utils";+import { eq } from "drizzle-orm";const allowedOrigins = [process.env.NEXT_PUBLIC_URL,@@ -29,7 +30,8 @@ export async function OPTIONS(req: NextRequest) {: "null","Access-Control-Allow-Credentials": "true","Access-Control-Allow-Methods": "POST, OPTIONS",- "Access-Control-Allow-Headers": "Authorization, Content-Type, sentry-trace, baggage",+ "Access-Control-Allow-Headers":+ "Authorization, Content-Type, sentry-trace, baggage",},});}@@ -167,4 +169,4 @@ export async function POST(request: NextRequest) {"Access-Control-Allow-Credentials": "true",},});-}\ No newline at end of file+}