From 5c90c3f36116c3a8616f9dd9102daf2d04ddff15 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 23 Feb 2019 17:01:39 +0100 Subject: hack: listen on all addresses for websocket clients --- cmd/dolmetschctld/dolmetschctld.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd') 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) } -- cgit v1.2.3