aboutsummaryrefslogtreecommitdiff
path: root/web/app/store/Positions.js
diff options
context:
space:
mode:
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'
+ }
}
});