From bb925b1e7411fa9069b4b0c426e14812c629399f Mon Sep 17 00:00:00 2001 From: Thel Seraphim Date: Fri, 13 Mar 2015 21:14:23 -0700 Subject: nothing broken but nothing happening either, now with more css --- src/pronouns/web.clj | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/pronouns/web.clj') diff --git a/src/pronouns/web.clj b/src/pronouns/web.clj index ef6e666..2189038 100644 --- a/src/pronouns/web.clj +++ b/src/pronouns/web.clj @@ -28,6 +28,11 @@ :headers {"Content-Type" "text/html"} :body (pages/pronouns (:* params) pronouns-table)}) + (GET "/pronouns.css" {params :params} + {:status 200 + :headers {"Content-Type" "text/css"} + :body (slurp (io/resource "pronouns.css"))}) + (ANY "*" [] (route/not-found (slurp (io/resource "404.html"))))) -- cgit