elm-lang / elm-reactor

Interactive development tool that makes it easy to develop and debug Elm programs.
BSD 3-Clause "New" or "Revised" License
428 stars 63 forks source link

Support serving all fonts #239

Open jjant opened 6 years ago

jjant commented 6 years ago

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.

process-bot commented 6 years ago

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.