aboutsummaryrefslogtreecommitdiff
path: root/src/web/views
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-02-03 21:00:25 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-02-03 21:00:25 +0100
commit4367d8d1df461806946e756370c9cb73e94f1a1a (patch)
tree409615a775d77f32b04c2bf266c11021ba058b22 /src/web/views
parentcarpy tests for alembic... (diff)
downloadnewspipe-4367d8d1df461806946e756370c9cb73e94f1a1a.tar.gz
newspipe-4367d8d1df461806946e756370c9cb73e94f1a1a.tar.bz2
newspipe-4367d8d1df461806946e756370c9cb73e94f1a1a.zip
It is now possible to give the address of a CDN server through the configuratin file (or a system variable).
Diffstat (limited to 'src/web/views')
-rw-r--r--src/web/views/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/views/views.py b/src/web/views/views.py
index 223f96e9..88f3f8ce 100644
--- a/src/web/views/views.py
+++ b/src/web/views/views.py
@@ -237,7 +237,7 @@ from flask import jsonify
@login_required
@etag_match
def home():
- return render_template('home.html')
+ return render_template('home.html', cdn=conf.CDN_ADDRESS)
@app.route('/menu')
bgstack15