about summary refs log tree commit diff
path: root/src/Main.hs
diff options
context:
space:
mode:
author"Vincent Ambo ext:(%22) <tazjin@me.com>2013-04-24T12·35+0200
committer"Vincent Ambo ext:(%22) <tazjin@me.com>2013-04-24T12·35+0200
commit3a39dfc19ee59e78de73ff8fdcf8108b751ebcf8 (patch)
tree298ec73fc908d314d0485e3506e001aa4dbc1fcf /src/Main.hs
parent0f1e6c2a6b19e16f5297b16a52e4cb94e121f838 (diff)
* small fixes that I don't remember
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 3efcf5be34..a83c9958ef 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -90,7 +90,8 @@ tazBlog acid captchakey = do
          , dir "dologin" $ processLogin acid
          , do dirs "static/blogv34.css" $ nullDir
               setHeaderM "content-type" "text/css"
-              neverExpires
+              setHeaderM "cache-control" "max-age=630720000"
+              setHeaderM "expires" "Tue, 20 Jan 2037 04:20:42 GMT"
               ok $ toResponse $ blogStyle
          , do setHeaderM "cache-control" "max-age=630720000"
               setHeaderM "expires" "Tue, 20 Jan 2037 04:20:42 GMT"