You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@senssoft.apache.org by rf...@apache.org on 2016/09/21 19:32:04 UTC
incubator-senssoft-useralejs git commit: Updated default logging url.
Repository: incubator-senssoft-useralejs
Updated Branches:
refs/heads/master 79a2c1dad -> f25b9cb00
Updated default logging url.
Project: http://git-wip-us.apache.org/repos/asf/incubator-senssoft-useralejs/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-senssoft-useralejs/commit/f25b9cb0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-senssoft-useralejs/tree/f25b9cb0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-senssoft-useralejs/diff/f25b9cb0
Branch: refs/heads/master
Commit: f25b9cb00bd891ee72efd65e13e4df1532c1a847
Parents: 79a2c1d
Author: Rob Foley <ro...@gmail.com>
Authored: Wed Sep 21 15:31:49 2016 -0400
Committer: Rob Foley <ro...@gmail.com>
Committed: Wed Sep 21 15:31:49 2016 -0400
----------------------------------------------------------------------
README.md | 2 +-
src/getInitialSettings.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-useralejs/blob/f25b9cb0/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index baef1c7..03d60c0 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@ The complete list of configurable options is:
| Param | Description | Default |
|---|---|---|
-| data-url | Logging URL | http://localhost:8000/logs |
+| data-url | Logging URL | http://localhost:8000 |
| data-autostart | Should Userale.js start on page load | true |
| data-interval | Delay between transmit checks | 5000 (ms) |
| data-threshold | Minimum number of logs to send | 5 |
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-useralejs/blob/f25b9cb0/src/getInitialSettings.js
----------------------------------------------------------------------
diff --git a/src/getInitialSettings.js b/src/getInitialSettings.js
index 963d543..42c7379 100644
--- a/src/getInitialSettings.js
+++ b/src/getInitialSettings.js
@@ -26,7 +26,7 @@ export function getInitialSettings() {
var get = script ? script.getAttribute.bind(script) : function() { return null; };
settings.autostart = get('data-autostart') === 'false' ? false : true;
- settings.url = get('data-url') || 'http://localhost:8000/logs';
+ settings.url = get('data-url') || 'http://localhost:8000';
settings.transmitInterval = +get('data-interval') || 5000;
settings.logCountThreshold = +get('data-threshold') || 5;
settings.userId = get('data-user') || null;