This commit is contained in:
parent
85fe10b7cd
commit
fb2a733f4c
@ -266,8 +266,9 @@ async def handle_index(request: web.Request):
|
||||
if request.app.is_upload_folder_quota_reached:
|
||||
message = "Server reached quota! Contact administrator."
|
||||
if request.app.upload_url in message:
|
||||
url = message[message.find(request.app.upload_url)+len(request.app.upload_url):]
|
||||
url = message[message.find(request.app.upload_url):]
|
||||
message = message.replace(request.app.upload_url, f" <a href=\"{url}")
|
||||
url = url[len(request.app.upload_url):]
|
||||
message += f'">{url}</a>'
|
||||
if message:
|
||||
message += "<br /><br />"
|
||||
|
Loading…
Reference in New Issue
Block a user