Skip to content

Commit

Permalink
Enable CORS for /schema
Browse files Browse the repository at this point in the history
  • Loading branch information
dstillman committed Apr 20, 2023
1 parent 81f7150 commit 5fba6e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions htdocs/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ RewriteRule ^zotero-schema/schema\.json.gz$ - [T=application/json,E=no-gzip:1]
Header append Content-Encoding gzip
# Force proxies to cache gzipped & non-gzipped schema file separately
Header append Vary Accept-Encoding
# CORS
Header set Access-Control-Allow-Origin "*"
</Files>

# If file or directory doesn't exist, pass to director for MVC redirections
Expand Down

0 comments on commit 5fba6e4

Please sign in to comment.