fehlerbehebung

This commit is contained in:
xoy 2023-01-28 23:48:41 +01:00
parent e89becdbdd
commit aef502e2ed
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ func handler() {
if keys != nil {
for _, key := range keys {
httpHandleFunc("admin/"+key, "./web/pages/admin/dashboard.html", "text/html")
httpHandleFuncWithPOST("admin/"+key+"/addEvent", "./web/pages/admin/dashboard.html", "multipart/form-data")
httpHandleFuncWithPOST("admin/"+key+"/addEvent", "./web/pages/admin/dashboard.html", "text/html")
}
}