fehlerbehebung

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

View File

@ -43,7 +43,7 @@ func handler() {
if keys != nil { if keys != nil {
for _, key := range keys { for _, key := range keys {
httpHandleFunc("admin/"+key, "./web/pages/admin/dashboard.html", "text/html") 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")
} }
} }