Allow bodhi CORS

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2017-08-07 18:05:18 +02:00
parent 0384c40e98
commit 857d9e535e

View file

@ -60,3 +60,7 @@ WSGIScriptAlias /packages /usr/share/fedoracommunity/production/apache/fedoracom
# unless those get magically redirected to a nice default.
ErrorDocument 404 https://apps.fedoraproject.org/packages/images/icons/package_128x128.png
</Directory>
<Location /packages/fcomm_connector/xapian/cquery/search_packages/>
Header Set Access-Control-Allow-Origin "https://bodhi.fedoraproject.org/"
</Location>