This commit is contained in:
parent
e545f796ee
commit
2ecbf46cb8
|
|
@ -117,7 +117,7 @@ func (h *microsubHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||||
} else if r.Method == http.MethodPost {
|
} else if r.Method == http.MethodPost {
|
||||||
w.Header().Add("Access-Control-Allow-Origin", "*")
|
w.Header().Add("Access-Control-Allow-Origin", "*")
|
||||||
|
|
||||||
values := r.URL.Query()
|
values := r.Form
|
||||||
action := values.Get("action")
|
action := values.Get("action")
|
||||||
if action == "channels" {
|
if action == "channels" {
|
||||||
name := values.Get("name")
|
name := values.Get("name")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user