fehlerbehebung
This commit is contained in:
parent
63da33a8ca
commit
7b6c35ea18
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