Skip to content

Commit

Permalink
Fix second Content Type header
Browse files Browse the repository at this point in the history
Refs #11680
  • Loading branch information
ericholscher committed Oct 15, 2024
1 parent 4f1f82f commit ee2a5d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dockerfiles/nginx/proxito.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ server {
location /_/static/javascript/readthedocs-addons.js.map {
proxy_pass https://raw.githubusercontent.com/readthedocs/addons/$NGINX_ADDONS_GITHUB_TAG/dist/readthedocs-addons.js.map;
proxy_cache_valid 24h;
proxy_hide_header Content-Type;
add_header Content-Type "text/javascript; charset=utf-8" always;
}

Expand Down

0 comments on commit ee2a5d9

Please sign in to comment.