Use middleware instead of the noscheme workaround in order to make HTTPS work behind a reverse-proxy

This commit is contained in:
Pierre Rudloff 2017-05-14 21:53:57 +02:00
parent f53fc5ebc1
commit fed425fce3
7 changed files with 70 additions and 238 deletions

View file

@ -1,4 +1,4 @@
<h1 class="logobis">
<a class="logocompatible" href="{base_url|noscheme}">
AllTube Download<span class="logocompatiblemask"><img src="{base_url|noscheme}/img/logocompatiblemask.png" width="447" height="107" alt="" /></span>
<a class="logocompatible" href="{base_url}">
AllTube Download<span class="logocompatiblemask"><img src="{base_url}/img/logocompatiblemask.png" width="447" height="107" alt="" /></span>
</a></h1>