forked from Hri7566/mpp-server-dev2
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) => {
|
||||
const reqip = server.requestIP(req);
|
||||
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;
|
||||
|
||||
if (
|
||||
|
|
Loading…
Reference in New Issue