signalk-to-noforeignland 0.1.20 → 0.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -446,7 +446,7 @@ module.exports = function(app) {
446
446
  }
447
447
 
448
448
  async function sendApiData() {
449
- const url = options.apiUrl;
449
+ const url = options.apiUrl || "https://www.noforeignland.com/home/api/v1/boat/tracking/track";
450
450
  app.debug('sending to ' + url)
451
451
  app.debug('sending the data');
452
452
  const trackData = await createTrack(path.join(options.trackDir, routeSaveName));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "signalk-to-noforeignland",
3
- "version": "0.1.20",
3
+ "version": "0.1.21",
4
4
  "description": "SignalK track logger to noforeignland.com ",
5
5
  "main": "index.js",
6
6
  "keywords": [