Move away from use of "broker"
This commit is contained in:
parent
d8c18535ce
commit
aefc45632b
|
@ -29,7 +29,7 @@ spawn {
|
||||||
const ui = new UI.Anchor();
|
const ui = new UI.Anchor();
|
||||||
|
|
||||||
during UI.UIChangeableProperty('#wsurl', 'value', $url) {
|
during UI.UIChangeableProperty('#wsurl', 'value', $url) {
|
||||||
const addr = WSServer(url, "broker");
|
const addr = WSServer(url, "local");
|
||||||
during ServerConnected(addr) {
|
during ServerConnected(addr) {
|
||||||
on start outputItem(<span class="connected">connected to {addr}</span>,
|
on start outputItem(<span class="connected">connected to {addr}</span>,
|
||||||
'state_connected');
|
'state_connected');
|
||||||
|
|
|
@ -91,7 +91,7 @@ spawn named 'rootServer' {
|
||||||
|
|
||||||
spawn named 'websocketListener' {
|
spawn named 'websocketListener' {
|
||||||
assert M.Publish(M.Service(gatewayId, '_syndicate+ws._tcp'),
|
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'),
|
assert M.Publish(M.Service(localId, '_syndicate+ws._tcp'),
|
||||||
null, HTTP_PORT, ["tier=0", "path=/monitor"]);
|
null, HTTP_PORT, ["tier=0", "path=/monitor"]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue