Skip to content
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

Removed utf8 encoding #1676

Merged
merged 1 commit into from
Nov 23, 2020
Merged

Removed utf8 encoding #1676

merged 1 commit into from
Nov 23, 2020

Conversation

crisward
Copy link
Contributor

The utf8 encoding breaks images from loading. Only noticed because I've built a small image editor and needed to load the image into canvas. Using this plugin broke some of my tests. Removing it fixes the issue and doesn't appear to have any negative effects.

More details here modernweb-dev/web#980

Changes

Removed default utf8 encoding, to allow images to be served correctly.

Testing

Not tested because I removed code, not added it. So I'd presume any tests written for this would break if I
broke anything 😉

Docs

bug fix only

The utf8 encoding breaks images from loading. Only noticed because I've built a small image editor and needed to load the image into canvas. Using this plugin broke some of my tests. Removing it fixes the issue and doesn't appear to have any negative effects.

More details here modernweb-dev/web#980
@vercel
Copy link

vercel bot commented Nov 21, 2020

@crisward is attempting to deploy a commit to the Pika Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Collaborator

@drwpow drwpow left a comment

Choose a reason for hiding this comment

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

LGTM! If I recall correctly, we removed the enforced encoding from the Snowpack dev server as well and found that Node handled this well on its own.

@drwpow drwpow merged commit 383419a into FredKSchott:main Nov 23, 2020
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