diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-12-02 18:46:55 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-02 18:46:55 +1300 |
commit | f8bf7ede29f2e063a30721e8ed415a6184646424 (patch) | |
tree | 43259e48230270edaed0a1981e8ef975508c9831 /web/app/store | |
parent | 6d447219ceab19c368b7ca6efabca83001b64a04 (diff) | |
parent | ea09b2e85e014d438084a454fae7c0cce57d9773 (diff) | |
download | trackermap-web-f8bf7ede29f2e063a30721e8ed415a6184646424.tar.gz trackermap-web-f8bf7ede29f2e063a30721e8ed415a6184646424.tar.bz2 trackermap-web-f8bf7ede29f2e063a30721e8ed415a6184646424.zip |
Merge pull request #347 from Abyss777/handle_eventid
Handle eventId url parameter
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 8f185af1..388a3320 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' + } } }); |