mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 05:59:25 +08:00
15 lines
246 B
Python
15 lines
246 B
Python
# coding:utf-8
|
|
|
|
import sys
|
|
import io
|
|
import os
|
|
from route import app, socketio
|
|
|
|
try:
|
|
if __name__ == "__main__":
|
|
PORT = 7200
|
|
HOST = '0.0.0.0'
|
|
socketio.run(app, host=HOST, port=PORT)
|
|
except Exception as ex:
|
|
print ex
|