feat: add friend request tab in notifications

This commit is contained in:
gosangam
2026-06-18 22:45:40 +05:30
parent 0178f89f2b
commit 25db9d0eee
3 changed files with 170 additions and 25 deletions
-4
View File
@@ -8,10 +8,6 @@ export async function POST(req: Request) {
headers.set("x-forwarded-for", ip);
headers.set("x-real-ip", ip);
headers.delete("host"); // avoid sending your app's Host to the Rybbit backend
console.log("XFF:", req.headers.get("x-forwarded-for"));
console.log("XRI:", req.headers.get("x-real-ip"));
console.log("resolved ip:", ip);
const res = await fetch(`${process.env.NEXT_PUBLIC_RYBBIT_HOST}/api/track`, {
method: "POST",