fehlerbehebung

This commit is contained in:
xoy 2023-01-28 23:46:57 +01:00
parent 63da33a8ca
commit 7b6c35ea18
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")
}
}