aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/javascriptController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-02-27 17:51:13 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-02-27 17:51:13 +0100
commitc9d3d78340e062b9e2fe19c8c55b8bdc75392e63 (patch)
tree391f56d07d73c3d05d5c50634463453c135564d2 /app/Controllers/javascriptController.php
parent38c2d671e3480b8e9fb38491797e44fdea317006 (diff)
CSP manually refreshing feeds
https://github.com/FreshRSS/FreshRSS/issues/1075
Diffstat (limited to 'app/Controllers/javascriptController.php')
-rwxr-xr-xapp/Controllers/javascriptController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/javascriptController.php b/app/Controllers/javascriptController.php
index e3ae3669e..00a7b5c38 100755
--- a/app/Controllers/javascriptController.php
+++ b/app/Controllers/javascriptController.php
@@ -6,7 +6,7 @@ class FreshRSS_javascript_Controller extends Minz_ActionController {
}
public function actualizeAction() {
- header('Content-Type: text/javascript; charset=UTF-8');
+ header('Content-Type: application/json; charset=UTF-8');
$feedDAO = FreshRSS_Factory::createFeedDao();
$this->view->feeds = $feedDAO->listFeedsOrderUpdate(FreshRSS_Context::$user_conf->ttl_default);
}