mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2026-03-02 02:31:35 +00:00
Optional no ssl flag using x-insecure header
This commit is contained in:
parent
8d292cc200
commit
3d5927ab28
9 changed files with 22 additions and 19 deletions
|
|
@ -26,7 +26,10 @@ html
|
|||
if showNav
|
||||
nav.main-nav
|
||||
.links
|
||||
a(href="/").link.home CloudTube
|
||||
if req && req.headers && "x-insecure" in req.headers
|
||||
a(href="/").link.home CloudTube - Insecure
|
||||
else
|
||||
a(href="/").link.home CloudTube
|
||||
a(href="/subscriptions" title="Subscriptions").link.icon-link
|
||||
!= icons.get("subscriptions")
|
||||
a(href="/settings" title="Settings").link.icon-link
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue