diff options
Diffstat (limited to 'web/app/controller')
-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 36781a2e2..fd76ab159 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: '/api/rest/server', + url: '/api/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: '/api/rest/session', + url: '/api/session', callback: this.onSessionReturn }); } else { |