diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-02 11:48:40 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-02 11:48:40 +1300 |
commit | a0a96b253b90d389a5c06ba1133b2a2f32ecb0fc (patch) | |
tree | a6152b09c89027f1932c4f28c1c8aaf1a6055065 /web/app | |
parent | 831a7b81004c0456c317ef4c521cbebd4cbf5fc2 (diff) | |
download | trackermap-server-a0a96b253b90d389a5c06ba1133b2a2f32ecb0fc.tar.gz trackermap-server-a0a96b253b90d389a5c06ba1133b2a2f32ecb0fc.tar.bz2 trackermap-server-a0a96b253b90d389a5c06ba1133b2a2f32ecb0fc.zip |
Share session between two API versions
Diffstat (limited to 'web/app')
-rw-r--r-- | web/app/controller/Root.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/controller/Root.js b/web/app/controller/Root.js index de20a8f2b..cd868d2bc 100644 --- a/web/app/controller/Root.js +++ b/web/app/controller/Root.js @@ -33,7 +33,7 @@ Ext.define('Traccar.controller.Root', { onLaunch: function () { Ext.Ajax.request({ scope: this, - url: '/rest/server', + url: '/api/rest/server', callback: this.onServerReturn }); }, @@ -44,7 +44,7 @@ Ext.define('Traccar.controller.Root', { Traccar.app.setServer(Ext.decode(response.responseText)); Ext.Ajax.request({ scope: this, - url: '/rest/session', + url: '/api/rest/session', callback: this.onSessionReturn }); } else { |