Browse Source

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.
pull/1/head
Zorchenhimer 3 years ago
parent
commit
1f217c56a9
  1. BIN
      favicon.png
  2. 2
      handlers.go
  3. BIN
      static/favicon.png

BIN
favicon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

2
handlers.go

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

BIN
static/favicon.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

Loading…
Cancel
Save