aboutsummaryrefslogtreecommitdiff
path: root/web/app/model/Server.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/model/Server.js')
-rw-r--r--web/app/model/Server.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/web/app/model/Server.js b/web/app/model/Server.js
index 2ed2c456f..202c856c9 100644
--- a/web/app/model/Server.js
+++ b/web/app/model/Server.js
@@ -55,7 +55,10 @@ Ext.define('Traccar.model.Server', {
proxy: {
type: 'ajax',
- url: '/api/server/update',
+ url: '/api/rest/server',
+ actionMethods: {
+ update: 'PUT'
+ },
writer: {
type: 'json',
writeAllFields: true