set dashboard url

This commit is contained in:
Evert Prants 2019-01-11 02:57:35 +02:00
parent 176b15ee49
commit 6203826194
Signed by: evert
GPG Key ID: 1688DA83D222D0B5

2
app.py
View File

@ -172,7 +172,7 @@ def dashboard():
return make_response("Unauthorized.", 402)
return render_template("dashboard.html", stream = streamkey,
server = config['Streaming']['PublishAddress'].format(streamer = "", host = config['Streaming']['ServerHost']))
server = "rtmp://" + config['Streaming']['ServerHost']) + "/live/"
@app.route("/dashboard/stats")
def dashboard_stats():