Skip to content

fix proxito header #11680

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 15, 2024
Merged

fix proxito header #11680

merged 2 commits into from
Oct 15, 2024

Conversation

ericholscher
Copy link
Member

  • Fix Content type on addons in dev
  • Keep caching

@ericholscher ericholscher requested a review from a team as a code owner October 15, 2024 00:14
@ericholscher ericholscher requested a review from stsewd October 15, 2024 00:14
@ericholscher ericholscher enabled auto-merge (squash) October 15, 2024 00:19
Copy link
Member

@humitos humitos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this change I also see the correct content-type for this file 👍🏼

Comment on lines +27 to 28
proxy_hide_header Content-Type;
add_header Content-Type "text/javascript; charset=utf-8" always;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remember having a similar issue with this, that's why I was forcing the content-type with add_header. I don't understand why it's not overwriting it since it's being forced here 🤷🏼

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think GH started adding a content type, and ours was getting appended, instead of replacing it.

@ericholscher ericholscher merged commit 09e48f4 into main Oct 15, 2024
7 of 8 checks passed
@ericholscher ericholscher deleted the fix-proxito-header branch October 15, 2024 08:15
@humitos
Copy link
Member

humitos commented Oct 15, 2024

@ericholscher we should do the same on commercial 😉

ericholscher added a commit that referenced this pull request Oct 15, 2024
ericholscher added a commit that referenced this pull request Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants