aboutsummaryrefslogtreecommitdiff
path: root/web/app/store
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-12-01 17:30:50 +0500
committerAbyss777 <abyss@fox5.ru>2016-12-01 17:30:50 +0500
commit42574b6700384bd8a45d3410c4f8da644dad112e (patch)
tree6ada5763c1aea05441b02efe82ff038517cd5897 /web/app/store
parent74072cf3ca6acf67d228287e446e3013277e7408 (diff)
downloadetbsa-traccar-web-42574b6700384bd8a45d3410c4f8da644dad112e.tar.gz
etbsa-traccar-web-42574b6700384bd8a45d3410c4f8da644dad112e.tar.bz2
etbsa-traccar-web-42574b6700384bd8a45d3410c4f8da644dad112e.zip
Implement in other way
Diffstat (limited to 'web/app/store')
-rw-r--r--web/app/store/Positions.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/web/app/store/Positions.js b/web/app/store/Positions.js
index 8f185af..388a332 100644
--- a/web/app/store/Positions.js
+++ b/web/app/store/Positions.js
@@ -21,6 +21,9 @@ Ext.define('Traccar.store.Positions', {
proxy: {
type: 'rest',
- url: 'api/positions'
+ url: 'api/positions',
+ headers: {
+ 'Accept': 'application/json'
+ }
}
});