mirror of
https://github.com/yudai/gotty.git
synced 2026-01-06 17:48:50 +01:00
Add favicon
This commit is contained in:
parent
e79e78a323
commit
ee77ec1b3a
7 changed files with 37 additions and 9 deletions
|
|
@ -190,6 +190,7 @@ func (app *App) Run() error {
|
|||
}
|
||||
|
||||
siteMux.Handle(path+"/js/", http.StripPrefix(path+"/", staticHandler))
|
||||
siteMux.Handle(path+"/favicon.png", http.StripPrefix(path+"/", staticHandler))
|
||||
siteMux.Handle(path+"/ws", wsHandler)
|
||||
|
||||
siteHandler := http.Handler(siteMux)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue