Chore: fix typo (#1017)

This commit is contained in:
kongminhao
2020-10-14 19:56:02 +08:00
committed by GitHub
parent bc52f8e4fd
commit 8c3e2a7559
8 changed files with 10 additions and 10 deletions

View File

@ -106,7 +106,7 @@ func updateConfigs(w http.ResponseWriter, r *http.Request) {
} else {
if !filepath.IsAbs(req.Path) {
render.Status(r, http.StatusBadRequest)
render.JSON(w, r, newError("path is not a absoluted path"))
render.JSON(w, r, newError("path is not a absolute path"))
return
}