Update url.
All checks were successful
RUpload build / Build (push) Successful in 1m9s

This commit is contained in:
retoor 2024-11-26 07:08:41 +01:00
parent a7aabcd36f
commit a51c3739c9

View File

@ -266,7 +266,7 @@ async def handle_index(request: web.Request):
if request.app.is_upload_folder_quota_reached: if request.app.is_upload_folder_quota_reached:
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["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=\"{url}")
message += f'">{url}</a>' message += f'">{url}</a>'
if message: if message: