mirror of
https://github.com/TwiN/gatus.git
synced 2024-12-22 23:02:22 +01:00
9 lines
228 B
Go
9 lines
228 B
Go
|
package controller
|
||
|
|
||
|
import "net/http"
|
||
|
|
||
|
// favIconHandler handles requests for /favicon.ico
|
||
|
func favIconHandler(writer http.ResponseWriter, request *http.Request) {
|
||
|
http.ServeFile(writer, request, staticFolder+"/favicon.ico")
|
||
|
}
|