Split http-startup code from server-startup
This commit is contained in:
1 parent
89fa52818c
commit
bd2844d186
2 files changed
+3
-4
No files matched your search
+2
-1
@@ -63,7 +63,8 @@ func main() {
|
||||
}
|
||||
}
|
||||
|
||||
err := weavedns.StartServer(zone, iface, dnsPort, httpPort, wait)
|
||||
go weavedns.ListenHttp(weavedns.LOCAL_DOMAIN, zone, httpPort)
|
||||
err := weavedns.StartServer(zone, iface, dnsPort, wait)
|
||||
if err != nil {
|
||||
Error.Fatal("Failed to start server", err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user