zigzap / zap

blazingly fast backends in zig
MIT License
2.4k stars 79 forks source link

Fix docserver, Wrap http_mimetype_register and http_mimetype_clear #98

Closed desttinghim closed 7 months ago

desttinghim commented 7 months ago

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 commented 7 months ago

Cool! Thank you for fixing this!