diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-02-03 21:00:25 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-02-03 21:00:25 +0100 |
commit | 4367d8d1df461806946e756370c9cb73e94f1a1a (patch) | |
tree | 409615a775d77f32b04c2bf266c11021ba058b22 /src/web/templates/home.html | |
parent | carpy tests for alembic... (diff) | |
download | newspipe-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/templates/home.html')
-rw-r--r-- | src/web/templates/home.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/templates/home.html b/src/web/templates/home.html index c2966be7..fcb2a042 100644 --- a/src/web/templates/home.html +++ b/src/web/templates/home.html @@ -18,5 +18,5 @@ <body> <section id="jarrapp" /> </body> - <script type="text/javascript" src="{{ url_for('static', filename = 'js/bundle.min.js') }}"></script> + <script type="text/javascript" src="{% if cdn != '' %}{{ cdn }}bundle.min.js{% else %}{{ url_for('static', filename = 'js/bundle.min.js') }}{% endif %}"></script> </html> |