mirror of
https://github.com/yudai/gotty.git
synced 2026-02-28 10:54:08 +01:00
Add xterm itegration
* Move to TypeScript from legacy JavaScript * Add support of xterm.js * Hterm is still available for backward compatibility
This commit is contained in:
parent
d6c98866b9
commit
8803721f3d
40 changed files with 9051 additions and 124 deletions
|
|
@ -186,7 +186,9 @@ func (server *Server) setupHandlers(ctx context.Context, cancel context.CancelFu
|
|||
siteMux.HandleFunc(url.Path, server.handleIndex)
|
||||
siteMux.Handle(url.Path+"js/", http.StripPrefix(url.Path, staticFileHandler))
|
||||
siteMux.Handle(url.Path+"favicon.png", http.StripPrefix(url.Path, staticFileHandler))
|
||||
siteMux.Handle(url.Path+"css/", http.StripPrefix(url.Path, staticFileHandler))
|
||||
siteMux.HandleFunc(url.Path+"auth_token.js", server.handleAuthToken)
|
||||
siteMux.HandleFunc(url.Path+"config.js", server.handleConfig)
|
||||
|
||||
siteHandler := http.Handler(siteMux)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue