diff options
author | Christian Pointner <equinox@spreadspace.org> | 2019-02-23 17:01:39 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2019-02-23 17:01:39 +0100 |
commit | 5c90c3f36116c3a8616f9dd9102daf2d04ddff15 (patch) | |
tree | 38651c7f08a73a2335bd69609b773bfc388d4c51 /cmd/dolmetschctld/dolmetschctld.go | |
parent | make server url configurable (diff) |
hack: listen on all addresses for websocket clients
Diffstat (limited to 'cmd/dolmetschctld/dolmetschctld.go')
-rw-r--r-- | cmd/dolmetschctld/dolmetschctld.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/dolmetschctld/dolmetschctld.go b/cmd/dolmetschctld/dolmetschctld.go index 61301d0..38f71ad 100644 --- a/cmd/dolmetschctld/dolmetschctld.go +++ b/cmd/dolmetschctld/dolmetschctld.go @@ -77,14 +77,14 @@ func main() { // * initialize control interfaces var telnet *TelnetInterface - if telnet, err = NewTelnetInterface("127.0.0.1:1234", sm); err != nil { + if telnet, err = NewTelnetInterface("127.0.0.1:1234", sm); err != nil { // TODO: hardcoded address log.Printf("creating telnet interface failed: %v", err) os.Exit(1) } log.Printf("telnet interface successfully initialized!") var web *WebInterface - if web, err = NewWebInterface("127.0.0.1:8234", "./web-static", sm); err != nil { + if web, err = NewWebInterface(":8234", "./web-static", sm); err != nil { // TODO: hardcoded address log.Printf("creating web interface failed: %v", err) os.Exit(1) } |