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

feat: add text/html to the accepted mime types #295

Merged
merged 1 commit into from Jan 31, 2021
Merged

feat: add text/html to the accepted mime types #295

merged 1 commit into from Jan 31, 2021

Conversation

sonicoder86
Copy link
Contributor

Vite dev server needs specific text/html to be within the Accept header, otherwise it won't respond with 200 OK.

By default Axios within the wait-on package sends this header: 'Accept': application/json, text/plain, */*', the below modification is just an addition

resolves #294

@bahmutov
Copy link
Owner

Makes sense, thanks for tracking this down

@bahmutov bahmutov merged commit 7a9f94b into bahmutov:master Jan 31, 2021
@github-actions
Copy link

🎉 This PR is included in version 1.12.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to run tests with Vite dev server
2 participants