[ansible] added service role

This commit is contained in:
2018-03-26 22:06:22 +03:00
parent 7a57f22967
commit f6ebec32ca
7 changed files with 29 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ class JsConnection<O:Message, I:Message> extends BaseConnection<O, I> {
}
private function buildSocket(host:String, port:Int):WebSocket {
return untyped __js__("new WebSocket('ws://'+host+':'+port);");
return untyped __js__('new WebSocket("ws://${host}:${port}");');
}
override public function connect():Promise<IConnection<O, I>> {