diff options
author | Christian Pointner <equinox@helsinki.at> | 2015-12-29 19:13:44 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2015-12-29 19:13:44 (GMT) |
commit | 6467923f8caaa02829fc53666b32df594da3ea68 (patch) | |
tree | bb3cdcc4f93dfee929b2c991e8bcbc1bfc1ed6e9 /src/helsinki.at/rhimportd/ctrlWeb.go | |
parent | 4911fe3fd94019fcca730710e0b411e8e5a66847 (diff) |
websocket handler new/run works now (needs testing!)
Diffstat (limited to 'src/helsinki.at/rhimportd/ctrlWeb.go')
-rw-r--r-- | src/helsinki.at/rhimportd/ctrlWeb.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/helsinki.at/rhimportd/ctrlWeb.go b/src/helsinki.at/rhimportd/ctrlWeb.go index 2a95676..794f8aa 100644 --- a/src/helsinki.at/rhimportd/ctrlWeb.go +++ b/src/helsinki.at/rhimportd/ctrlWeb.go @@ -48,7 +48,6 @@ func StartControlWeb(addr_s string, conf *rhimport.Config, rddb *rhimport.RdDbCh http.Handle("/trusted/simple", webHandler{conf, rddb, sessions, true, webSimpleHandler}) http.Handle("/public/socket", webHandler{conf, rddb, sessions, false, webSocketHandler}) - http.Handle("/trusted/socket", webHandler{conf, rddb, sessions, true, webSocketHandler}) rhl.Println("web-ctrl: listening on", addr_s) server := &http.Server{Addr: addr_s, ReadTimeout: 60 * time.Second, WriteTimeout: 60 * time.Second} |