Add some features

This commit is contained in:
jose
2019-06-26 18:09:52 +08:00
parent 8bd9a6057e
commit c9f0565f8f
2 changed files with 18 additions and 11 deletions
+3 -2
View File
@@ -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)