This commit is contained in:
Evert Prants 2019-01-11 02:59:44 +02:00
parent 6203826194
commit d76affa05a
Signed by: evert
GPG Key ID: 1688DA83D222D0B5

4
app.py
View File

@ -28,8 +28,6 @@ import os
"uuid" TEXT NOT NULL,
"name" TEXT NOT NULL
);
d2c45910-8eb8-11e8-b357-b10f0028b927
"""
# Load configuration
@ -172,7 +170,7 @@ def dashboard():
return make_response("Unauthorized.", 402)
return render_template("dashboard.html", stream = streamkey,
server = "rtmp://" + config['Streaming']['ServerHost']) + "/live/"
server = "rtmp://" + config['Streaming']['ServerHost'] + "/live/")
@app.route("/dashboard/stats")
def dashboard_stats():