aboutsummaryrefslogtreecommitdiff
path: root/web/app/store/ReportRoute.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-08-09 16:25:54 +0500
committerAbyss777 <abyss@fox5.ru>2016-08-09 16:25:54 +0500
commit226dcdde755ad2b2b7384ac9cd59e5fcc3af550b (patch)
treec9c4494d9ea55a0173d4ddaf3eb4b07a1c8dc6f3 /web/app/store/ReportRoute.js
parent7a6de316942316466622f9bfa64691c4ba433b88 (diff)
downloadtraccar-server-226dcdde755ad2b2b7384ac9cd59e5fcc3af550b.tar.gz
traccar-server-226dcdde755ad2b2b7384ac9cd59e5fcc3af550b.tar.bz2
traccar-server-226dcdde755ad2b2b7384ac9cd59e5fcc3af550b.zip
- Fixed csv MIME type and added response header
- Added 3 report types - Changed some Strings - Fixed jscs issues in other files
Diffstat (limited to 'web/app/store/ReportRoute.js')
-rw-r--r--web/app/store/ReportRoute.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/app/store/ReportRoute.js b/web/app/store/ReportRoute.js
index 18e28d63d..fc96fc022 100644
--- a/web/app/store/ReportRoute.js
+++ b/web/app/store/ReportRoute.js
@@ -1,5 +1,5 @@
/*
- * Copyright 2015- Anton Tananaev (anton.tananaev@gmail.com)
+ * Copyright 2016 Anton Tananaev (anton.tananaev@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -21,8 +21,8 @@ Ext.define('Traccar.store.ReportRoute', {
proxy: {
type: 'rest',
url: '/api/reports/route',
- headers : {
- 'Accept' : 'application/json'
- }
+ headers: {
+ 'Accept': 'application/json'
+ }
}
});