Use middleware instead of the noscheme workaround in order to make HTTPS work behind a reverse-proxy
This commit is contained in:
parent
f53fc5ebc1
commit
fed425fce3
7 changed files with 70 additions and 238 deletions
|
@ -16,6 +16,6 @@
|
|||
Based on <a href="http://rg3.github.io/youtube-dl/">youtube-dl</a>
|
||||
</div>
|
||||
</footer>
|
||||
<script src="{base_url|noscheme}/dist/main.js"></script>
|
||||
<script src="{base_url}/dist/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -8,10 +8,10 @@
|
|||
<meta name="twitter:description" content="{$description|escape}" />
|
||||
<meta property="og:description" content="{$description|escape}" />
|
||||
{/if}
|
||||
<link rel="stylesheet" href="{base_url|noscheme}/dist/main.css" />
|
||||
<link rel="stylesheet" href="{base_url}/dist/main.css" />
|
||||
<title>AllTube Download{if isset($title)} - {$title|escape}{/if}</title>
|
||||
<link rel="canonical" href="{$canonical}" />
|
||||
<link rel="icon" href="{base_url|noscheme}/img/favicon.png" />
|
||||
<link rel="icon" href="{base_url}/img/favicon.png" />
|
||||
<meta property="og:title" content="AllTube Download{if isset($title)} - {$title|escape}{/if}" />
|
||||
<meta property="og:image" content="{base_url}/img/logo.png" />
|
||||
<meta name="twitter:card" content="summary" />
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue