This commit is contained in:
2022-12-26 14:13:02 +00:00
parent 23ae029795
commit 3a7c1d8630
4 changed files with 135 additions and 0 deletions

12
app.py Normal file
View File

@ -0,0 +1,12 @@
from flask import Flask, render_template
from flask_socketio import SocketIO, emit
app = Flask(__name__)
socketio = SocketIO(app)
@app.route('/')
def index():
return render_template('index.html')
if __name__ == '__main__':
socketio.run(app)