Added message.
All checks were successful
RUpload build / Build (push) Successful in 1m19s

This commit is contained in:
retoor 2024-11-26 08:25:14 +01:00
parent e4331976d9
commit 368e99da32

View File

@ -280,6 +280,8 @@ async def handle_index(request: web.Request):
message = message[: message.find("here: ") + len("here: ")]
message += f'<a href="{url}">'
message += f"{url}</a>"
if not message:
message = "Any file type is allowed thus also binary/executable or source files."
if message:
message += "<br /><br />"
html_content = html_content.replace("[message]", message)