mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -06:00
Set page title to document name
This commit is contained in:
parent
8304388d29
commit
b668b8d2f3
|
|
@ -1610,7 +1610,7 @@ class HttpCli(object):
|
|||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<link rel="icon" href="%s" />
|
||||
<title>Loading...</title>
|
||||
<title>%s</title>
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
|
|
@ -1641,7 +1641,7 @@ class HttpCli(object):
|
|||
</body>
|
||||
</html>
|
||||
"""
|
||||
% (favicon_url, url, session_key)
|
||||
% (favicon_url, self.uparam["wopi"], url, session_key)
|
||||
]
|
||||
|
||||
bret = "".join(ret).encode("utf-8", "replace")
|
||||
|
|
|
|||
Loading…
Reference in a new issue