aboutsummaryrefslogtreecommitdiff
path: root/web/app/store
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-12-15 15:02:01 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-12-15 15:02:01 +1300
commit4113e28eda3df4725cc72527216a02d1b9cfed17 (patch)
tree75454f6873da40f13b4f2e1fe72591fdfe1037d9 /web/app/store
parentf5ab3489c9abdc825dd5297829119813740e32e6 (diff)
downloadtrackermap-server-4113e28eda3df4725cc72527216a02d1b9cfed17.tar.gz
trackermap-server-4113e28eda3df4725cc72527216a02d1b9cfed17.tar.bz2
trackermap-server-4113e28eda3df4725cc72527216a02d1b9cfed17.zip
Enable only REST API by default
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
}