git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1477e69
)
word: allow browser access to json data
author
Mischa POSLAWSKY
<perl@shiar.org>
Tue, 27 Apr 2021 23:12:24 +0000
(
01:12
+0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 5 Jul 2021 01:54:37 +0000
(
03:54
+0200)
.htaccess
patch
|
blob
|
history
diff --git
a/.htaccess
b/.htaccess
index 41f82b4e38e68cc370d93bcf2d11fa298e4b3d35..0c5b23d39f11852d575ed3da12f575af585d6dc7 100644
(file)
--- a/
.htaccess
+++ b/
.htaccess
@@
-21,8
+21,9
@@
RewriteRule ^/*([^/]+)(.*) $1.plp$2
# allow browsers to cache for upto a month
<IfModule headers_module>
-<FilesMatch "\.(?:css|js)$">
+<FilesMatch "\.(?:css|js
|json
)$">
Header set Cache-Control "max-age=2592000"
+Header set Access-Control-Allow-Origin "*"
</FilesMatch>
</IfModule>