From 42574b6700384bd8a45d3410c4f8da644dad112e Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Thu, 1 Dec 2016 17:30:50 +0500 Subject: Implement in other way --- web/app/store/Positions.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'web/app/store') 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' + } } }); -- cgit v1.2.3