Rename PicsDir to ImgDir

This commit is contained in:
2025-01-19 20:10:06 +01:00
parent 43c1cb6d9a
commit 7b04149a28
4 changed files with 18 additions and 18 deletions

View File

@ -16,6 +16,6 @@ func ServeImage(c *b.Config, s map[string]*f.Session) http.HandlerFunc {
}
}
http.ServeFile(w, r, filepath.Join(c.PicsDir, r.PathValue("pic")))
http.ServeFile(w, r, filepath.Join(c.ImgDir, r.PathValue("pic")))
}
}