Default to wss:// instead of ws://

This commit is contained in:
Tony Garnock-Jones 2016-06-11 07:02:19 -04:00
parent 03616226e1
commit ddd67540be
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
<form name="nym_form"> <form name="nym_form">
<fieldset> <fieldset>
<label class="control-label" for="wsurl">Server:</label> <label class="control-label" for="wsurl">Server:</label>
<input type="text" id="wsurl" name="wsurl" value="ws://demo-broker.syndicate-lang.org:8000/"> <input type="text" id="wsurl" name="wsurl" value="wss://demo-broker.syndicate-lang.org:8443/">
<label class="control-label" for="nym">Nym:</label> <label class="control-label" for="nym">Nym:</label>
<input type="text" id="nym" name="nym" value=""> <input type="text" id="nym" name="nym" value="">

View File

@ -22,7 +22,7 @@ ground dataspace G {
return Math.max(Math.min(v, limit), -limit); return Math.max(Math.min(v, limit), -limit);
} }
var wsurl = 'ws://demo-broker.syndicate-lang.org:8000/'; var wsurl = 'wss://demo-broker.syndicate-lang.org:8443/';
react { react {
assert brokerConnection(wsurl); assert brokerConnection(wsurl);