mirror of
https://github.com/ZizzyDizzyMC/linx-server.git
synced 2026-01-23 02:14:33 +00:00
Update upload.go
This commit is contained in:
parent
2c6da53f50
commit
b0b2a3c2c1
1 changed files with 0 additions and 2 deletions
|
|
@ -230,8 +230,6 @@ func uploadRemote(c web.C, w http.ResponseWriter, r *http.Request) {
|
|||
func uploadHeaderProcess(r *http.Request, upReq *UploadRequest) {
|
||||
if r.Header.Get("Linx-Randomize") == "yes" {
|
||||
upReq.randomBarename = true
|
||||
} else {
|
||||
upReq.randomBarename = false
|
||||
}
|
||||
upReq.deleteKey = r.Header.Get("Linx-Delete-Key")
|
||||
upReq.accessKey = r.Header.Get(accessKeyHeaderName)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue