Compare commits

..

No commits in common. "e92e85b32e6e8efd679a29ddd07069b97a91c8f9" and "3cb5682f6294d31c5cef6ff75e5695fcd36cbbb0" have entirely different histories.

2 changed files with 0 additions and 7 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 759 KiB

View file

@ -21,11 +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)
})
}