Update mw.py

pull/632/head
Mr Chen 5 months ago
parent ee206f014d
commit de3f2ab4d2
  1. 1
      web/core/mw.py

@ -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():

Loading…
Cancel
Save