1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

Don't need this line anymore

This commit is contained in:
Zack Scholl 2017-11-04 18:45:10 +00:00
parent a2288cf129
commit 840fbf73ec

View File

@ -189,9 +189,6 @@ func handlePageRequest(c *gin.Context) {
data, _ := Asset("/static/img/cowyo/favicon.ico") data, _ := Asset("/static/img/cowyo/favicon.ico")
c.Data(http.StatusOK, contentType("/static/img/cowyo/favicon.ico"), data) c.Data(http.StatusOK, contentType("/static/img/cowyo/favicon.ico"), data)
return return
} else if page == "/static/css/custom.css" {
c.Data(http.StatusOK, contentType("custom.css"), customCSS)
return
} else if page == "static" { } else if page == "static" {
filename := page + command filename := page + command
var data []byte var data []byte