Skip to content

Commit

Permalink
fix excel download
Browse files Browse the repository at this point in the history
  • Loading branch information
jaroldwong committed Jul 22, 2024
1 parent aa296ff commit e2ff07c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ http {
root /usr/share/nginx/html;
index index.html index.htm;

add_header Access-Control-Allow-Origin "https://api.ipa.ucdavis.edu" always;
add_header Cache-Control "no-cache";
add_header Content-Security-Policy "default-src 'self'; connect-src https://api.ipa.ucdavis.edu https://dw.dss.ucdavis.edu; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://www.google-analytics.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; frame-src 'self' https://www.youtube.com;";
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload";
Expand Down

0 comments on commit e2ff07c

Please sign in to comment.