Merge branch 'dev' into authentication

This commit is contained in:
hexlocation 2025-05-06 07:10:56 +00:00
commit 59a49698a1

View file

@ -21,4 +21,10 @@ func RegisterUploadRoutes(cfg *types.StereoConfig, api *gin.RouterGroup) {
return return
} }
}) })
api.GET("/:name", func(c *gin.Context) {
name := c.Param("name")
path := filepath.Join(cfg.ImagePath, name)
c.File(path)
})
} }