plexus / chestnut

Application template for Clojure + ClojureScript web apps
Eclipse Public License 1.0
1.32k stars 99 forks source link

Fix development middleware order #216

Closed featheredtoast closed 7 years ago

featheredtoast commented 7 years ago

We need to wrap-file at its earliest so that subsequent middleware (eg, wrap-mime) is applied properly to hosted files from this path.

(Service workers for instance check for a valid mime type on registration.)

plexus commented 7 years ago

Thanks! I'm going to change the (vec (concat ,,,)) into an (into) if you don't mind. I think it looks better.