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:
parent
e42c7d14cc
commit
1f217c56a9
BIN
favicon.png
Normal file
BIN
favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.5 KiB |
@ -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 |
Loading…
Reference in New Issue
Block a user