Skip to content

Commit

Permalink
make json file uncallable via http
Browse files Browse the repository at this point in the history
  • Loading branch information
yllumi committed Dec 28, 2014
1 parent 901f043 commit 2318dcb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sites/.htaccess
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Files "\.(jpg|jpeg|png|gif|pdf|zip|rar|json)$">
order deny,allow
order allow,deny
<Files ~ "\.(jpg|jpeg|png|gif|pdf|zip|rar|js|css|woff|ttf|map|ico)$">
allow from all
</Files>
2 changes: 1 addition & 1 deletion system/.htaccess
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
order allow,deny
<Files ~ "\.(jpg|jpeg|png|gif|pdf|zip|rar|json|js|css|woff|ttf|map|ico)$">
<Files ~ "\.(jpg|jpeg|png|gif|pdf|zip|rar|js|css|woff|ttf|map|ico)$">
allow from all
</Files>

0 comments on commit 2318dcb

Please sign in to comment.