cljs-boilerplate icon indicating copy to clipboard operation
cljs-boilerplate copied to clipboard

Wrong Content-Type for 404

Open jblomo opened this issue 13 years ago • 0 comments

When using a tomcat adapter, the ring.util.route/not-found handler appears to send the 404.html file without the right MIME or Content-Type, so it just shows up as plain text. Write a new route or figure out how one is supposed to use not-found with files.

eg: http://cljs-boilerplate.elasticbeanstalk.com/notfound

jblomo avatar Sep 04 '11 01:09 jblomo