enzostvs HF Staff commited on
Commit
d5e68ec
·
1 Parent(s): f02f878

check headers

Browse files
Files changed (1) hide show
  1. app/api/auth/route.ts +1 -0
app/api/auth/route.ts CHANGED
@@ -2,6 +2,7 @@ import { NextRequest, NextResponse } from "next/server";
2
 
3
  export async function GET(req: NextRequest) {
4
  const host = req.headers.get("host") ?? "localhost:3000";
 
5
 
6
  const redirect_uri =
7
  `${host.includes("localhost") ? "http://" : "https://"}` +
 
2
 
3
  export async function GET(req: NextRequest) {
4
  const host = req.headers.get("host") ?? "localhost:3000";
5
+ console.log(req.headers);
6
 
7
  const redirect_uri =
8
  `${host.includes("localhost") ? "http://" : "https://"}` +