mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 03:49:25 +08:00
Update mw.py
This commit is contained in:
@@ -465,7 +465,6 @@ def checkDomainPanel():
|
||||
|
||||
ip = getHostAddr()
|
||||
if domain == '':
|
||||
print(current_host.strip().lower(), ip.strip().lower())
|
||||
if ip in ['127.0.0.1', 'localhost', '::1']:
|
||||
return False
|
||||
if current_host.strip().lower() != ip.strip().lower():
|
||||
|
||||
Reference in New Issue
Block a user