fehlerbehebung

This commit is contained in:
xoy 2023-01-28 23:46:57 +01:00
parent 9e4d618b5c
commit e89becdbdd
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", "text/html")
httpHandleFuncWithPOST("admin/"+key+"/addEvent", "./web/pages/admin/dashboard.html", "multipart/form-data")
}
}