Ffs.
All checks were successful
RUpload build / Build (push) Successful in 1m1s

This commit is contained in:
retoor 2024-11-26 07:10:41 +01:00
parent 304d163464
commit ec489ab30f

View File

@ -267,7 +267,7 @@ async def handle_index(request: web.Request):
message = "Server reached quota! Contact administrator." message = "Server reached quota! Contact administrator."
if request.app.upload_url in message: if request.app.upload_url in message:
url = message[message.find("here: ") + len("here: "):] url = message[message.find("here: ") + len("here: "):]
message = message.replace("here: ", f"here: <a href=\"{url}") message = message.replace("here: ", f"here: <a href=\"")
message += f'">{url}</a>' message += f'">{url}</a>'
if message: if message:
message += "<br /><br />" message += "<br /><br />"