Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

log auth header

Brendan Allan10bab1f53362
diff --git a/apps/web/app/api/utils.ts b/apps/web/app/api/utils.ts
index 82546e87d..15b13d34e 100644
--- a/apps/web/app/api/utils.ts
+++ b/apps/web/app/api/utils.ts
@@ -9,6 +9,7 @@ import { createMiddleware } from "hono/factory";
import { cookies } from "next/headers";
async function getAuth(c: Context) {
+ console.log("auth header: ", c.req.header("authorization"));
const authHeader = c.req.header("authorization")?.split(" ")[1];
let user;