CHANGE format for deletion token display
This commit is contained in:
parent
6337f47b0d
commit
b62ec8473e
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
|
@ -292,7 +292,7 @@ async def upload_text(request: Request, authorized: bool = Depends(validate_uplo
|
||||||
size_bytes=len(content))
|
size_bytes=len(content))
|
||||||
|
|
||||||
# Return URL and deletion token
|
# Return URL and deletion token
|
||||||
return f"{BASEURL}/{random_path}\nDelete with HTTP POST: {BASEURL}/{random_path}?token={deletion_token}\n"
|
return f"{BASEURL}/{random_path}\nDelete with HTTP POST:\n{BASEURL}/{random_path}?token={deletion_token}\n"
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
log("ERROR", "upload_failed",
|
log("ERROR", "upload_failed",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue