Fix title so it doesn't start with scheme

This commit is contained in:
Robert Miles 2018-08-17 21:17:31 -04:00
parent a119f53607
commit e437bfd1ab
1 changed files with 2 additions and 2 deletions

View File

@ -345,7 +345,7 @@ def fhost():
<html>
<head>
<link rel="stylesheet" href="https://tilde.team/css/hacker.css">
<title>{0}</title>
<title>{6}</title>
</head>
<body>
<div class="container">
@ -417,7 +417,7 @@ IRC on <a href="https://web.tilde.chat">tilde.chat</a>, or send an email to sudo
""".format(fhost_url(),
maxsize, str(maxsizehalf).rjust(27), str(maxsizenum).rjust(27),
maxsizeunit.rjust(54),
", ".join(app.config["FHOST_MIME_BLACKLIST"]))
", ".join(app.config["FHOST_MIME_BLACKLIST"]),fhost_url().split("/",2)[2])
@app.route("/robots.txt")
def robots():