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