Serve .jsonld files with the right content type and enable CORS
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Tue, 02 Apr 2013 11:12:29 +0200
changeset 1522 ffb35c9171d0
parent 1521 529ec43026c4
child 1523 83910fdc3482
Serve .jsonld files with the right content type and enable CORS
.htaccess
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.htaccess	Tue Apr 02 11:12:29 2013 +0200
@@ -0,0 +1,5 @@
+<FilesMatch "(\.jsonld)$">
+   ForceType application/ld+json
+   SetHandler default_handler
+   Header set Access-Control-Allow-Origin "*"
+</FilesMatch>