Also patch welcome for this one, this is pretty low hanging fruit. David
On Wed, Apr 15, 2015 at 8:39 AM, J David Eisenberg < [email protected]> wrote: > On Tuesday, April 14, 2015 at 10:57:22 PM UTC-7, J David Eisenberg wrote: > > I get 404 errors when I put an <img src="blah.jpg" alt=""/> in my > index.html file and load the file from localhost:9000, using the brepl > script in the mies template. > > > > I think the problem is in file src/clj/cljs/repl/browser.clj, the code > starting server/dispatch-on; it lacks options for paths ending in .jpg and > .png > > > > I was also looking for the bug and saw that .html is listed twice in the > condp of function send-static. > > > > If this is indeed the problem, could you please add .svg with MIME type > "image/svg+xml" when you fix it? > > ... I started writing this as a question of "how do I solve this" and then > started looking through the code. After I sent it and had tunred off the > machine I realized "oh, this should be an issue report" so I've gone and > opened one. > > -- > Note that posts from new members are moderated - please be patient with > your first post. > --- > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/clojurescript. > -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
