Remove debug messages
This commit is contained in:
parent
c7784642a7
commit
41ad34be05
|
@ -37,8 +37,6 @@ export const app = Bun.serve<{ ip: string }>({
|
||||||
fetch: (req, server) => {
|
fetch: (req, server) => {
|
||||||
const reqip = server.requestIP(req);
|
const reqip = server.requestIP(req);
|
||||||
if (!reqip) return;
|
if (!reqip) return;
|
||||||
logger.debug("x-forwarded-for:", req.headers.get("x-forwarded-for"));
|
|
||||||
logger.debug("requestIP:", reqip);
|
|
||||||
const ip = req.headers.get("x-forwarded-for") || reqip.address;
|
const ip = req.headers.get("x-forwarded-for") || reqip.address;
|
||||||
|
|
||||||
if (
|
if (
|
||||||
|
|
Loading…
Reference in New Issue