diff --git a/examples/compose-dashboard.ds b/examples/compose-dashboard.ds index 45a19cc..0302ce3 100644 --- a/examples/compose-dashboard.ds +++ b/examples/compose-dashboard.ds @@ -16,7 +16,7 @@ -- -- Open the built file in a browser. -let counter = stream from "ws://localhost:9100/stream/default" +let counter = stream from "ws://localhost:9100/stream/counter" let clock = stream from "ws://localhost:9100/stream/clock" let stats = stream from "ws://localhost:9100/stream/stats" let mood = stream from "ws://localhost:9100/stream/mood" diff --git a/examples/streaming-counter.ds b/examples/streaming-counter.ds index d0fb620..b1edfcf 100644 --- a/examples/streaming-counter.ds +++ b/examples/streaming-counter.ds @@ -10,7 +10,7 @@ let count = 0 let doubled = count * 2 let message = "Streaming Counter" -stream counter on "ws://localhost:9100" { mode: signal, output: count, doubled } +stream counter on "ws://localhost:9100/peer/counter" { mode: signal, output: count, doubled } view counter = column [