mirror of
https://github.com/ZizzyDizzyMC/linx-server.git
synced 2026-01-23 02:14:33 +00:00
Update delete.go
This commit is contained in:
parent
0f0753ad60
commit
d8e0398919
1 changed files with 3 additions and 3 deletions
|
|
@ -10,9 +10,9 @@ import (
|
|||
|
||||
func deleteHandler(c web.C, w http.ResponseWriter, r *http.Request) {
|
||||
requestKey := r.Header.Get("Linx-Delete-Key")
|
||||
urlRequestKey := r.URL.Query().Get("linx-delete-key")
|
||||
if len(urlRequestKey) > 0 {
|
||||
requestKey := urlRequestKey
|
||||
|
||||
if len(r.URL.Query().Get("linx-delete-key")) > 0 {
|
||||
requestKey := r.URL.Query().Get("linx-delete-key")
|
||||
}
|
||||
|
||||
filename := c.URLParams["name"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue