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

Fixed issue with "invalid media type" errors #41

Merged
merged 1 commit into from Nov 25, 2022

Conversation

LennardF1989
Copy link
Member

Since the Yarn4 update, that also updated ExpressJS to a new version, it seems like that responses that immediately do .send don't have a media type set (anymore?). This sets the default media type to "text/plain", most likely like it always had before.

Tested in-game (H3 Epic) including full contract, no issues or weird logs anymore.

@LennardF1989
Copy link
Member Author

Accidentally included another branch in the first commit, rebased, don't mind it.

@RDIL RDIL merged commit b44774d into thepeacockproject:v5 Nov 25, 2022
@LennardF1989 LennardF1989 deleted the dev/expressjs branch November 25, 2022 20:20
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.

None yet

2 participants