mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:59:25 +08:00
Update setting.py
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ else:
|
||||
from utils.firewall import Firewall as MwFirewall
|
||||
mw_port = str(random.randint(10000, 65530))
|
||||
MwFirewall.instance().addAcceptPort(panel_port, 'PANEL端口', 'port')
|
||||
mw.writeFile(default_port_file panel_port)
|
||||
mw.writeFile(default_port_file, panel_port)
|
||||
|
||||
bind = []
|
||||
default_ipv6_file = panel_dir+'/data/ipv6.pl'
|
||||
|
||||
Reference in New Issue
Block a user