Revert "templates: download: force css to point to https"
This reverts commit 3c5aa3d575
.
isTLS is now set correctly so use it in html templates for assets
and media
This commit is contained in:
parent
857c4ed001
commit
2feda54fe4
@ -6,9 +6,9 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta name="description" content="Download or playback videos and music in full quality">
|
<meta name="description" content="Download or playback videos and music in full quality">
|
||||||
<meta name="keywords" content="Download, Youtube, yt-dlp, MP3, Convert">
|
<meta name="keywords" content="Download, Youtube, yt-dlp, MP3, Convert">
|
||||||
<link rel="stylesheet" href="https://{{ .AppURL }}/static/static/css/pico.min.css">
|
<link rel="stylesheet" href="{{ if .IsTLS }}https{{ else }}http{{ end }}://{{ .AppURL }}/static/static/css/pico.min.css">
|
||||||
<script src="https://unpkg.com/htmx.org@1.9.5"></script>
|
<script src="https://unpkg.com/htmx.org@1.9.5"></script>
|
||||||
<title>YT Download</title>
|
<title>Viddle your fiddle</title>
|
||||||
</head>
|
</head>
|
||||||
<main class="container">
|
<main class="container">
|
||||||
<form hx-post="/download" hx-target="#get-btn" hx-swap="outerHTML" hx-indicator="#progress">
|
<form hx-post="/download" hx-target="#get-btn" hx-swap="outerHTML" hx-indicator="#progress">
|
||||||
|
Loading…
Reference in New Issue
Block a user