diff options
author | Vincent Ambo <tazjin@gmail.com> | 2016-02-13T08·20+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2016-02-13T08·20+0100 |
commit | 8addea105871151453a70e2fec5a91fe2ed13937 (patch) | |
tree | f8a11e15a1b8ce7229372613607fe6a7f6dd425b /src/Server.hs | |
parent | e949c5e812dbe06f441ac5381492b08f683e9f25 (diff) |
[server] Serve static files at root
Diffstat (limited to 'src/Server.hs')
-rw-r--r-- | src/Server.hs | 1 |
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 ] |