about summary refs log tree commit diff
path: root/src/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 4d1ec4af5788..3efcf5be3454 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -88,6 +88,10 @@ tazBlog acid captchakey = do
               ok $ toResponse $ adminIndex ("tazjin" :: Text)
          , dir "admin" $ ok $ toResponse $ adminLogin 
          , dir "dologin" $ processLogin acid
+         , do dirs "static/blogv34.css" $ nullDir
+              setHeaderM "content-type" "text/css"
+              neverExpires
+              ok $ toResponse $ blogStyle
          , do setHeaderM "cache-control" "max-age=630720000"
               setHeaderM "expires" "Tue, 20 Jan 2037 04:20:42 GMT"
               dir "static" $ serveDirectory DisableBrowsing [] "../res"