CSP manually refreshing feeds

https://github.com/FreshRSS/FreshRSS/issues/1075
This commit is contained in:
Alexandre Alapetite committed 2016-02-27 17:51:13 +01:00
1 parent 38c2d671e3
commit c9d3d78340
3 files changed
+52 -61

No files matched your search

+1 -1
View File
@@ -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);
}