mirror of
https://github.com/9001/copyparty.git
synced 2026-04-01 21:13:26 +10:00
if non-TLS, show warning in the login form
This commit is contained in:
@@ -2877,6 +2877,7 @@ class HttpCli(object):
|
||||
url_suf=suf,
|
||||
k304=self.k304(),
|
||||
ver=S_VERSION if self.args.ver else "",
|
||||
ahttps="" if self.is_https else "https://" + self.host + self.req,
|
||||
)
|
||||
self.reply(html.encode("utf-8"))
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user