elm-reactor icon indicating copy to clipboard operation
elm-reactor copied to clipboard

Support serving all fonts

Open jjant opened this issue 7 years ago • 1 comments

Currently only ttf fonts can be served (because of https://github.com/elm-lang/elm-reactor/blob/master/src/backend/Main.hs#L285), mime types are missing for otf, woff, woff2, etc. So elm-reactor just doesn't serve them.

I'm not too sure why that mime type boilerplate is there anyway, but if you want to keep it, you should add support for more formats.

jjant avatar Mar 27 '18 22:03 jjant

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

process-bot avatar Mar 27 '18 22:03 process-bot