* serving correct css location

This commit is contained in:
"Vincent Ambo ext:(%22) 2013-05-05 21:06:49 +02:00
parent c7a538e7d1
commit df9603369d

View file

@ -95,7 +95,7 @@ tazBlog acid captchakey = do
ok $ toResponse $ adminIndex ("tazjin" :: Text) ok $ toResponse $ adminIndex ("tazjin" :: Text)
, dir "admin" $ ok $ toResponse adminLogin , dir "admin" $ ok $ toResponse adminLogin
, dir "dologin" $ processLogin acid , dir "dologin" $ processLogin acid
, do dirs "static/blogv300.css" nullDir , do dirs "static/blogv40.css" nullDir
setHeaderM "content-type" "text/css" setHeaderM "content-type" "text/css"
setHeaderM "cache-control" "max-age=630720000" setHeaderM "cache-control" "max-age=630720000"
setHeaderM "expires" "Tue, 20 Jan 2037 04:20:42 GMT" setHeaderM "expires" "Tue, 20 Jan 2037 04:20:42 GMT"