zigzap / zap

blazingly fast backends in zig
MIT License
2.23k stars 75 forks source link

Fix docserver, Wrap http_mimetype_register and http_mimetype_clear #98

Closed desttinghim closed 5 months ago

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

Cool! Thank you for fixing this!