From c9693b47467f16a6f35be6de85f57244b70d7a01 Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Wed, 21 Jan 2015 21:12:07 +0100 Subject: contract.html example is working with sync api --- lib/httpsync.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/httpsync.js') diff --git a/lib/httpsync.js b/lib/httpsync.js index 20bdbd1a2..67a3988f9 100644 --- a/lib/httpsync.js +++ b/lib/httpsync.js @@ -23,7 +23,7 @@ var HttpSyncProvider = function (host) { this.handlers = []; - this.host = host; + this.host = host || 'http://localhost:8080'; }; /// Transforms inner message to proper jsonrpc object -- cgit v1.2.3