diff --git a/hscontrol/handlers.go b/hscontrol/handlers.go index db1d80f2..9c9d6451 100644 --- a/hscontrol/handlers.go +++ b/hscontrol/handlers.go @@ -278,3 +278,12 @@ func FaviconHandler(writer http.ResponseWriter, req *http.Request) { writer.Header().Set("Content-Type", "image/x-icon") http.ServeContent(writer, req, "favicon.ico", time.Unix(0, 0), bytes.NewReader(favicon)) } +// Returns a blank page with favicon linked +func BlankHandler(writer http.ResponseWriter, res *http.Request) { + writer.Header().Set("Content-Type", "text/html; charset=utf-8") + io.WriteString(writer, ` +
+ + + `) +} \ No newline at end of file