Compare commits
No commits in common. "59a49698a1dc6421d1a845286933dc2acf5a318a" and "0b20a0d027f9207740584cbb400e2af97c7a68cd" have entirely different histories.
59a49698a1
...
0b20a0d027
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