forked from jason/cpolis
Rename PicsDir to ImgDir
This commit is contained in:
@ -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")))
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user