cljs-boilerplate
cljs-boilerplate copied to clipboard
Wrong Content-Type for 404
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