This commit is contained in:
parent
e4331976d9
commit
368e99da32
@ -280,6 +280,8 @@ async def handle_index(request: web.Request):
|
|||||||
message = message[: message.find("here: ") + len("here: ")]
|
message = message[: message.find("here: ") + len("here: ")]
|
||||||
message += f'<a href="{url}">'
|
message += f'<a href="{url}">'
|
||||||
message += f"{url}</a>"
|
message += f"{url}</a>"
|
||||||
|
if not message:
|
||||||
|
message = "Any file type is allowed thus also binary/executable or source files."
|
||||||
if message:
|
if message:
|
||||||
message += "<br /><br />"
|
message += "<br /><br />"
|
||||||
html_content = html_content.replace("[message]", message)
|
html_content = html_content.replace("[message]", message)
|
||||||
|
Loading…
Reference in New Issue
Block a user