aboutsummaryrefslogtreecommitdiff
path: root/web/app/store/Positions.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-12-02 18:46:55 +1300
committerGitHub <noreply@github.com>2016-12-02 18:46:55 +1300
commitf8bf7ede29f2e063a30721e8ed415a6184646424 (patch)
tree43259e48230270edaed0a1981e8ef975508c9831 /web/app/store/Positions.js
parent6d447219ceab19c368b7ca6efabca83001b64a04 (diff)
parentea09b2e85e014d438084a454fae7c0cce57d9773 (diff)
downloadtrackermap-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/Positions.js')
-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 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'
+ }
}
});