|
@@ -101,7 +101,11 @@ class PodcastRorController extends ControllerBase {
|
|
|
)];
|
|
|
//$variables['ror']['url'] =
|
|
|
$xml = $template->render($tmpl_data);
|
|
|
- $resp = new Response($xml, 200, array( 'Content-Type' => 'application/rss+xml'));
|
|
|
+ $resp = new Response($xml, 200, array(
|
|
|
+ 'Content-Type' => 'application/rss+xml',
|
|
|
+ 'Access-Control-Allow-Origin' => '*',
|
|
|
+ 'Access-Control-Allow-Methods' => 'GET',
|
|
|
+ ));
|
|
|
return $resp;
|
|
|
}
|
|
|
public function podcastAll() {
|