rename apijs with bug in go 1.11

This commit is contained in:
yourok
2018-09-14 11:05:41 +03:00
parent 0fd3c6ebef
commit 792cf9c041

View File

@@ -127,7 +127,7 @@ function humanizeSize(size) {
}
`
func Api_JS(c echo.Context) error {
func ApiJS(c echo.Context) error {
http.ServeContent(c.Response(), c.Request(), "api.js", settings.StartTime, helpers.NewSeekingBuffer(apijs))
return c.NoContent(http.StatusOK)
}