diff options
Diffstat (limited to 'web/app/model')
-rw-r--r-- | web/app/model/Server.js | 2 | ||||
-rw-r--r-- | web/app/model/User.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/web/app/model/Server.js b/web/app/model/Server.js index 202c856c9..b200a2d23 100644 --- a/web/app/model/Server.js +++ b/web/app/model/Server.js @@ -55,7 +55,7 @@ Ext.define('Traccar.model.Server', { proxy: { type: 'ajax', - url: '/api/rest/server', + url: '/api/server', actionMethods: { update: 'PUT' }, diff --git a/web/app/model/User.js b/web/app/model/User.js index d4c67f8f1..b00918bc8 100644 --- a/web/app/model/User.js +++ b/web/app/model/User.js @@ -58,7 +58,7 @@ Ext.define('Traccar.model.User', { proxy: { type: 'rest', - url: '/api/rest/users', + url: '/api/users', writer: { type: 'json', writeAllFields: true |