mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-07-04 20:25:25 +02:00
Initial socketio initialization
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
from run import app, init_debug
|
||||
from run import app, socketio, init_debug
|
||||
import os
|
||||
|
||||
if __name__ == "__main__":
|
||||
init_debug()
|
||||
app.run(host=os.getenv('IP', '0.0.0.0'), port=int(os.getenv('PORT', 8080)), debug=True, processes=3)
|
||||
socketio.run(app, host=os.getenv('IP', '0.0.0.0'), port=int(os.getenv('PORT', 8080)), debug=True)
|
Reference in New Issue
Block a user