From 2a57624dd5c54110cf328a8bac079d36dbcae0ec Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Fri, 6 Mar 2009 21:42:55 +0100 Subject: Serve flat files as a fallback when no other rule applies. --- cljssss-g.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cljssss-g.clj b/cljssss-g.clj index 05b7d18..02c5eeb 100644 --- a/cljssss-g.clj +++ b/cljssss-g.clj @@ -313,8 +313,8 @@ to merely being replaced with a div element)?" (and (params :feed) (Integer/parseInt (params :feed))) (Integer/parseInt entry-id-string))))) - (GET "/layout.css" - (serve-file "layout.css")) + (GET "*" + (serve-file path)) (ANY "*" (page-not-found))) -- cgit v1.2.3