aboutsummaryrefslogtreecommitdiff
path: root/web/app/store
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/store')
-rw-r--r--web/app/store/AllDevices.js2
-rw-r--r--web/app/store/Devices.js2
-rw-r--r--web/app/store/Positions.js2
-rw-r--r--web/app/store/Users.js2
4 files changed, 4 insertions, 4 deletions
diff --git a/web/app/store/AllDevices.js b/web/app/store/AllDevices.js
index 7e268f747..8a6f7d5ef 100644
--- a/web/app/store/AllDevices.js
+++ b/web/app/store/AllDevices.js
@@ -20,7 +20,7 @@ Ext.define('Traccar.store.AllDevices', {
proxy: {
type: 'rest',
- url: '/api/rest/devices',
+ url: '/api/devices',
extraParams: {
all: true
}
diff --git a/web/app/store/Devices.js b/web/app/store/Devices.js
index c8c95bda0..8ba513792 100644
--- a/web/app/store/Devices.js
+++ b/web/app/store/Devices.js
@@ -20,7 +20,7 @@ Ext.define('Traccar.store.Devices', {
proxy: {
type: 'rest',
- url: '/api/rest/devices',
+ url: '/api/devices',
writer: {
writeAllFields: true
}
diff --git a/web/app/store/Positions.js b/web/app/store/Positions.js
index cfccd4f94..b201c219c 100644
--- a/web/app/store/Positions.js
+++ b/web/app/store/Positions.js
@@ -20,6 +20,6 @@ Ext.define('Traccar.store.Positions', {
proxy: {
type: 'rest',
- url: '/api/rest/positions'
+ url: '/api/positions'
}
});
diff --git a/web/app/store/Users.js b/web/app/store/Users.js
index 5427c2d70..16901008d 100644
--- a/web/app/store/Users.js
+++ b/web/app/store/Users.js
@@ -20,7 +20,7 @@ Ext.define('Traccar.store.Users', {
proxy: {
type: 'rest',
- url: '/api/rest/users',
+ url: '/api/users',
writer: {
writeAllFields: true
}