diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2009-03-06 21:42:55 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2009-03-06 22:33:41 +0100 |
commit | 2a57624dd5c54110cf328a8bac079d36dbcae0ec (patch) | |
tree | b45e81ca21418970326ad938cfae3f154b3a0ab3 | |
parent | 030a08de1849ea83f49465fde8cf7ca9e4b8451a (diff) |
Serve flat files as a fallback when no other rule applies.
-rw-r--r-- | cljssss-g.clj | 4 |
1 files 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))) |