mirror of
https://github.com/aaPanel/aaPanel.git
synced 2026-09-27 03:44:49 +02:00
update 6.5.1
This commit is contained in:
+2
-2
@@ -7,11 +7,11 @@
|
||||
# | Author: 黄文良 <287962566@qq.com>
|
||||
# +-------------------------------------------------------------------
|
||||
from os import environ
|
||||
from BTPanel import app,socketio,sys
|
||||
from BTPanel import app,sys
|
||||
|
||||
if __name__ == '__main__':
|
||||
f = open('data/port.pl')
|
||||
PORT = int(f.read())
|
||||
HOST = '0.0.0.0'
|
||||
f.close()
|
||||
socketio.run(app,host=HOST,port=PORT)
|
||||
app.run(host=HOST,port=PORT)
|
||||
|
||||
Reference in New Issue
Block a user