whar
This commit is contained in:
parent
e92e85b32e
commit
638f589837
2 changed files with 0 additions and 1 deletions
|
@ -25,7 +25,6 @@ func RegisterUploadRoutes(cfg *types.StereoConfig, api *gin.RouterGroup) {
|
|||
api.GET("/:name", func(c *gin.Context) {
|
||||
name := c.Param("name")
|
||||
path := filepath.Join(cfg.ImagePath, name)
|
||||
|
||||
c.File(path)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue