1.0.1 Added wsgi file & removed input form at the route ("/")
This commit is contained in:
parent
b21e3af8e7
commit
25ceaa0574
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,6 +1,5 @@
|
||||
.vscode/
|
||||
__pycache__/
|
||||
wsgi.py
|
||||
*.swp
|
||||
config.py
|
||||
.idea/
|
||||
|
||||
@ -1076,7 +1076,7 @@ class ServerSentEvent:
|
||||
return message.encode('utf-8')
|
||||
|
||||
|
||||
@app.route('/', methods=['GET'])
|
||||
"""@app.route('/', methods=['GET'])
|
||||
async def index():
|
||||
return await render_template('index.html')
|
||||
|
||||
@ -1086,7 +1086,7 @@ async def broadcast():
|
||||
data = await request.get_json()
|
||||
for queue in app.clients:
|
||||
await queue.put(data['message'])
|
||||
return jsonify(True)
|
||||
return jsonify(True) """
|
||||
|
||||
|
||||
@app.route('/sse')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user