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:
parent
a2288cf129
commit
840fbf73ec
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user