aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mga-treasurer/templates
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-06-01 12:59:04 +0000
committerNicolas Vigier <boklm@mageia.org>2013-06-01 12:59:04 +0000
commitfd14f7063cf6158ecb0443d1d087d9a9cc34783d (patch)
tree3ad2832ed50e5cf31b1598201a12e7ce2750713c /modules/mga-treasurer/templates
parent7727732e9e728d23385a4670f8f05eb644178fc4 (diff)
downloadpuppet-fd14f7063cf6158ecb0443d1d087d9a9cc34783d.tar
puppet-fd14f7063cf6158ecb0443d1d087d9a9cc34783d.tar.gz
puppet-fd14f7063cf6158ecb0443d1d087d9a9cc34783d.tar.bz2
puppet-fd14f7063cf6158ecb0443d1d087d9a9cc34783d.tar.xz
puppet-fd14f7063cf6158ecb0443d1d087d9a9cc34783d.zip
mga-treasurer: set Access-Control-Allow-Origin header for .json files
Diffstat (limited to 'modules/mga-treasurer/templates')
-rw-r--r--modules/mga-treasurer/templates/vhost_mga-treasurer.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/mga-treasurer/templates/vhost_mga-treasurer.conf b/modules/mga-treasurer/templates/vhost_mga-treasurer.conf
new file mode 100644
index 00000000..763cd87d
--- /dev/null
+++ b/modules/mga-treasurer/templates/vhost_mga-treasurer.conf
@@ -0,0 +1,3 @@
+<FilesMatch "\.json$">
+ Header set Access-Control-Allow-Origin "*"
+</FilesMatch>