Skip to content
This repository has been archived by the owner on Aug 23, 2018. It is now read-only.

Support serving all fonts #239

Open
jjant opened this issue Mar 27, 2018 · 1 comment
Open

Support serving all fonts #239

jjant opened this issue Mar 27, 2018 · 1 comment

Comments

@jjant
Copy link

jjant commented Mar 27, 2018

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
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants