You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wouldn't we want to move away from implementing a general purpose app server?
I would expect that it is trivial to prepend a middleware which will serve special mime types. In production you should have the static server handle this anyway I would think.
I'm not against the improvement, just think it is a distraction beyond documenting how to write your own static serving middleware for DEV time. There must be 100+ blog posts that explain how to do this with Connect/Express.
@thepian I don't disagree—however—currently it's not possible to hook into the middleware for the MIME type in dev mode—unless I'm missing something. _Update_ I'm realizing my comment might be flippant. :P I think you might be right. So, really, this issue might be moot. I'll investigate, and offer a solution to on that google thread. And add documentation. :)
See this thread: https://groups.google.com/forum/#!searchin/socketstream/mime/socketstream/PcKCoFcaSW0/pu_IrxHKsdYJ
It doesn't appear that we can serve different MIME types in development mode.
The text was updated successfully, but these errors were encountered: