diff options
author | Abyss777 <abyss@fox5.ru> | 2016-12-01 17:30:50 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-12-01 17:30:50 +0500 |
commit | 42574b6700384bd8a45d3410c4f8da644dad112e (patch) | |
tree | 6ada5763c1aea05441b02efe82ff038517cd5897 /web/app/store | |
parent | 74072cf3ca6acf67d228287e446e3013277e7408 (diff) | |
download | etbsa-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.js | 5 |
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' + } } }); |