mirror of
https://github.com/ZizzyDizzyMC/linx-server.git
synced 2026-01-23 10:16:37 +00:00
Enable randomize in remote uploads
This commit is contained in:
parent
20456b0b3c
commit
c8fc62398a
1 changed files with 1 additions and 0 deletions
|
|
@ -163,6 +163,7 @@ func uploadRemote(c web.C, w http.ResponseWriter, r *http.Request) {
|
|||
upReq.filename = filepath.Base(grabUrl.Path)
|
||||
upReq.src = resp.Body
|
||||
upReq.deletionKey = r.FormValue("deletekey")
|
||||
upReq.randomBarename = r.FormValue("randomize") == "yes"
|
||||
upReq.expiry = parseExpiry(r.FormValue("expiry"))
|
||||
|
||||
upload, err := processUpload(upReq)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue