Spaces:
Running
Running
check free requests log
Browse files- app/api/ask-ai/route.ts +1 -1
app/api/ask-ai/route.ts
CHANGED
@@ -64,7 +64,7 @@ export async function POST(request: NextRequest) {
|
|
64 |
token = process.env.HF_TOKEN;
|
65 |
}
|
66 |
|
67 |
-
console.log(
|
68 |
|
69 |
const ip = authHeaders.get("x-forwarded-for")?.includes(",")
|
70 |
? authHeaders.get("x-forwarded-for")?.split(",")[1].trim()
|
|
|
64 |
token = process.env.HF_TOKEN;
|
65 |
}
|
66 |
|
67 |
+
console.log(request.headers);
|
68 |
|
69 |
const ip = authHeaders.get("x-forwarded-for")?.includes(",")
|
70 |
? authHeaders.get("x-forwarded-for")?.split(",")[1].trim()
|