aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/app/store/Positions.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/web/app/store/Positions.js b/web/app/store/Positions.js
index 7de54a8d2..cfccd4f94 100644
--- a/web/app/store/Positions.js
+++ b/web/app/store/Positions.js
@@ -19,11 +19,7 @@ Ext.define('Traccar.store.Positions', {
model: 'Traccar.model.Position',
proxy: {
- type: 'ajax',
- url: '/api/position/get',
- reader: {
- type: 'json',
- rootProperty: 'data'
- }
+ type: 'rest',
+ url: '/api/rest/positions'
}
});