Riskless/app.py

13 lines
256 B
Python
Raw Normal View History

2022-12-26 14:13:02 +00:00
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)