mirror of
https://git.suyu.dev/suyu/website.git
synced 2025-12-21 21:26:05 +01:00
brackets may fix this?
This commit is contained in:
parent
63a89c3b5f
commit
300cb18c1e
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ export async function POST({ request, getClientAddress }) {
|
|||
},
|
||||
],
|
||||
maxPlayers: body.maxPlayers,
|
||||
ip: `${opts.ip || request.headers.get("CF-Connecting-IP") || request.headers.get("X-Forwarded-For") || borkedIp.includes("127.0.0.1") ? "127.0.0.1" : borkedIp}:${body.port}`,
|
||||
ip: `${opts.ip || request.headers.get("CF-Connecting-IP") || request.headers.get("X-Forwarded-For") || (borkedIp.includes("127.0.0.1") ? "127.0.0.1" : borkedIp)}:${body.port}`,
|
||||
host: user,
|
||||
hasPassword: body.hasPassword || false,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue