Move away from use of "broker"

This commit is contained in:
Tony Garnock-Jones 2019-05-16 20:14:38 +01:00
parent d8c18535ce
commit aefc45632b
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ spawn {
const ui = new UI.Anchor();
during UI.UIChangeableProperty('#wsurl', 'value', $url) {
const addr = WSServer(url, "broker");
const addr = WSServer(url, "local");
during ServerConnected(addr) {
on start outputItem(<span class="connected">connected to {addr}</span>,
'state_connected');

View File

@ -91,7 +91,7 @@ spawn named 'rootServer' {
spawn named 'websocketListener' {
assert M.Publish(M.Service(gatewayId, '_syndicate+ws._tcp'),
null, HTTP_PORT, ["tier=0", "path=/broker"]);
null, HTTP_PORT, ["tier=0", "path=/local"]);
assert M.Publish(M.Service(localId, '_syndicate+ws._tcp'),
null, HTTP_PORT, ["tier=0", "path=/monitor"]);