fehlerbehebung
This commit is contained in:
parent
9e4d618b5c
commit
e89becdbdd
2
func.go
2
func.go
|
@ -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", "text/html")
|
httpHandleFuncWithPOST("admin/"+key+"/addEvent", "./web/pages/admin/dashboard.html", "multipart/form-data")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue