Replace favicon with something else

This is an icon that I threw together in a few minutes.  I don't want
my avatar as the favicon for this repository.

Also, the favicon.png has moved to the root directory as it is
something that is meant to be customized along with the settings that
is also in the root.
This commit is contained in:
Zorchenhimer 2019-03-18 11:21:17 -04:00
parent e42c7d14cc
commit 1f217c56a9
3 changed files with 1 additions and 1 deletions

BIN
favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@ -47,7 +47,7 @@ func (self writeFlusher) Flush() error {
func wsStaticFiles(w http.ResponseWriter, r *http.Request) { func wsStaticFiles(w http.ResponseWriter, r *http.Request) {
switch r.URL.Path { switch r.URL.Path {
case "/favicon.ico": case "/favicon.ico":
http.ServeFile(w, r, "./static/favicon.png") http.ServeFile(w, r, "./favicon.png")
return return
case "/justchat": case "/justchat":
http.ServeFile(w, r, "./static/justchat.html") http.ServeFile(w, r, "./static/justchat.html")

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB