Handle favicon requests
Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
This commit is contained in:
parent
a51520382e
commit
48cb8a0ede
|
@ -74,5 +74,9 @@ func Serve(c *cli.Context) error {
|
||||||
addSonarQubeEndpoint(r)
|
addSonarQubeEndpoint(r)
|
||||||
addGiteaEndpoint(r)
|
addGiteaEndpoint(r)
|
||||||
|
|
||||||
|
r.GET("/favicon.ico", func(c *gin.Context) {
|
||||||
|
c.Status(http.StatusNoContent)
|
||||||
|
})
|
||||||
|
|
||||||
return endless.ListenAndServe(":3000", r)
|
return endless.ListenAndServe(":3000", r)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue