diff --git a/src/rupload/app.py b/src/rupload/app.py index ab77c72..20413fe 100644 --- a/src/rupload/app.py +++ b/src/rupload/app.py @@ -280,6 +280,8 @@ async def handle_index(request: web.Request): message = message[: message.find("here: ") + len("here: ")] message += f'' message += f"{url}" + if not message: + message = "Any file type is allowed thus also binary/executable or source files." if message: message += "

" html_content = html_content.replace("[message]", message)