about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2016-02-13T08·20+0100
committerVincent Ambo <tazjin@gmail.com>2016-02-13T08·20+0100
commit8addea105871151453a70e2fec5a91fe2ed13937 (patch)
treef8a11e15a1b8ce7229372613607fe6a7f6dd425b
parente949c5e812dbe06f441ac5381492b08f683e9f25 (diff)
[server] Serve static files at root
-rw-r--r--src/Server.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Server.hs b/src/Server.hs
index 373bb7d6b51f..c025be009a2e 100644
--- a/src/Server.hs
+++ b/src/Server.hs
@@ -42,6 +42,7 @@ tazBlog acid resDir = do
               , method POST >> processLogin acid ]
          , dir "static" $ staticHandler resDir
          , blogHandler acid EN
+         , staticHandler resDir
          , notFound $ toResponse $ showError NotFound DE
          ]