Compare commits
No commits in common. "638f589837a889e473cbc7f0d323dc4b2f016ddd" and "db49da5fd969e731bcd4d2c95ec5f9e8782b0f8b" have entirely different histories.
638f589837
...
db49da5fd9
1 changed files with 0 additions and 6 deletions
|
@ -21,10 +21,4 @@ func RegisterUploadRoutes(cfg *types.StereoConfig, api *gin.RouterGroup) {
|
|||
return
|
||||
}
|
||||
})
|
||||
|
||||
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