Case insensitive fs again
This commit is contained in:
parent
d9723b8350
commit
eeede281a7
2
pages.go
2
pages.go
@ -36,7 +36,7 @@ func pasteHandler(c web.C, w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
func apiDocHandler(c web.C, w http.ResponseWriter, r *http.Request) {
|
||||
err := Templates["api.html"].ExecuteWriter(pongo2.Context{}, w)
|
||||
err := Templates["API.html"].ExecuteWriter(pongo2.Context{}, w)
|
||||
if err != nil {
|
||||
oopsHandler(c, w, r, RespHTML, "")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user