This commit is contained in:
shaoyongjun 2024-04-30 00:02:33 +08:00
parent 1d81f1b16f
commit e97a1c3237

View File

@ -22,7 +22,7 @@ func InitStaticGroup(g *echo.Group) {
g.GET("img/003.jpeg", func(c echo.Context) error {
c.Response().Header().Set("Cache-Control", "max-age=3600")
return c.Blob(http.StatusOK, "text/html; charset=utf-8", cssMap["login.css"])
return c.Blob(http.StatusOK, "text/html; charset=utf-8", imgMap()["003.jpeg"])
})
g.GET("/aa", func(c echo.Context) error {