10 lines
186 B
Python
10 lines
186 B
Python
|
import json
|
||
|
from flask import Flask
|
||
|
from flask_socketio import SocketIO
|
||
|
|
||
|
app = Flask("__main__")
|
||
|
websocket = SocketIO(app)
|
||
|
|
||
|
with open("config.json", "r") as f:
|
||
|
config = json.load(f)
|