mirror of
https://github.com/aaPanel/aaPanel.git
synced 2026-08-17 21:25:47 +02:00
Add some features
This commit is contained in:
+3
-2
@@ -10,7 +10,8 @@ from os import environ
|
||||
from BTPanel import app,socketio,sys
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
PORT = 8888
|
||||
f = open('data/port.pl')
|
||||
PORT = int(f.read())
|
||||
HOST = '0.0.0.0'
|
||||
f.close()
|
||||
socketio.run(app,host=HOST,port=PORT)
|
||||
|
||||
Reference in New Issue
Block a user