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

Fix docserver, Wrap http_mimetype_register and http_mimetype_clear #98

Merged
merged 3 commits into from
Apr 24, 2024

Conversation

desttinghim
Copy link
Contributor

Makes run-docserver use the generated files as the docs root automatically. Adds 2 new functions, zap.mimetypeRegister and zap.mimetypeClear. This was needed to serve the webassembly modules from the docs in a way browsers will accept.

@renerocksai
Copy link
Member

Cool! Thank you for fixing this!

@renerocksai renerocksai merged commit 0de5c8f into zigzap:master Apr 24, 2024
2 checks passed
@desttinghim desttinghim deleted the mimetype branch April 24, 2024 01:24
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