Refactor settings

fixes https://github.com/bitpay/copay/issues/1113
fixes https://github.com/bitpay/copay/issues/1203
fixes https://github.com/bitpay/copay/issues/1290
fixes https://github.com/bitpay/copay/issues/1208

:)

On Thu, Sep 11, 2014 at 1:30 PM, Manuel Aráoz <notifications@github.com>
wrote:

> In js/models/network/Async.js:
>
> > @@ -14,9 +14,7 @@ function Network(opts) {
> >    var self = this;
> >    opts = opts || {};
> >    this.maxPeers = opts.maxPeers || 12;
> > -  this.host = opts.host || 'localhost';
> > -  this.port = opts.port || 3001;
> > -  this.schema = opts.schema || 'https';
> > +  this.url = opts.url || 'http//localhost:30001';
>
> lol... this is so wrong in so many ways: http//localhost:30001 read it
> carefully:
>
>    - default should be insight.bitpay.com
>    - it's not a valid URI: lacking : before //
>    - port 30001???? Wil fix
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/bitpay/copay/pull/1281/files#r17431445>.
>



-- 
Matías Alejo Garcia
Skype/Twitter: @ematiu
Roads? Where we're going, we don't need roads!