Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
This commit is contained in:
Lukas Bachschwell 2022-02-27 22:32:07 +01:00
parent 838c664767
commit 9dba5e416f
No known key found for this signature in database
GPG Key ID: CCC6AA87CC8DF425

View File

@ -47,7 +47,6 @@ func main() {
filter := regexp.MustCompile(filterRegex)
http.HandleFunc("/ciconfig", func(w http.ResponseWriter, r *http.Request) {
log.Println("Incoming Request!")
if r.Method != http.MethodPost {
w.WriteHeader(http.StatusMethodNotAllowed)
return