feat: 游客登录机制完善

This commit is contained in:
binaryify
2024-04-30 15:14:32 +08:00
parent eb92cef0b2
commit 780f30f0b1
15 changed files with 24693 additions and 20 deletions

View File

@ -227,6 +227,9 @@ async function consturctServer(moduleDefs) {
if (ip.substr(0, 7) == '::ffff:') {
ip = ip.substr(7)
}
if (ip == '::1') {
ip = global.cnIp
}
// console.log(ip)
obj[3] = {
...obj[3],