mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Move utils and test config to separate packages #58
This commit is contained in:
@@ -21,7 +21,7 @@ var photoIconSvg = []byte(`
|
||||
// type: string Format, either "fit" or "square"
|
||||
// size: int Size in pixels
|
||||
// hash: string The file hash as returned by the search API
|
||||
func GetThumbnail(router *gin.RouterGroup, conf *photoprism.Config) {
|
||||
func GetThumbnail(router *gin.RouterGroup, conf photoprism.Config) {
|
||||
router.GET("/thumbnails/:type/:size/:hash", func(c *gin.Context) {
|
||||
fileHash := c.Param("hash")
|
||||
thumbnailType := c.Param("type")
|
||||
|
||||
Reference in New Issue
Block a user