cartodb-nodejs icon indicating copy to clipboard operation
cartodb-nodejs copied to clipboard

cartodb_url param on CartoDB instantiation

Open busla opened this issue 10 years ago • 1 comments

Since I host CartoDB myself I needed to allow for an additional parameter cartodb_url and change resources.json to reflect the change.

Creating a client can now be run with:

var client = new CartoDB({
  user: secret.USER, 
  api_key: secret.API_KEY,
  /* e.g. http://myusername.cartodb.com */
  cartodb_url: ''
});

https://github.com/Vizzuality/cartodb-nodejs/compare/master...busla:master

You want a PR?

busla avatar Oct 15 '15 09:10 busla

A pr would be nice since you can test your own instance. Otherwise let me know and I'll make the changes.

impronunciable avatar Oct 15 '15 14:10 impronunciable