diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2016-06-19 00:54:54 +0800 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2016-06-19 00:54:54 +0800 |
commit | 2715822e6ae3ab5ba0cbd3e6a303007f32ffd18b (patch) | |
tree | 123ccdaf7003619bba00097b176955c902814c97 /src/Application.hs | |
parent | 46ac93b7322cab7f4abb2d3533375c3b70682f88 (diff) | |
download | mywatch-2715822e6ae3ab5ba0cbd3e6a303007f32ffd18b.tar.gz |
Do not serve /index.html
Diffstat (limited to 'src/Application.hs')
-rw-r--r-- | src/Application.hs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Application.hs b/src/Application.hs index d2e7f6b..d0f9704 100644 --- a/src/Application.hs +++ b/src/Application.hs @@ -48,7 +48,6 @@ myProcess ps logger dataDir = do middleware $ staticPolicy (hasPrefix "static" >-> addBase dataDir) get "/" $ file index_html - get "/index.html" $ file index_html get "/serverlist.json" $ json (sort $ HM.keys ps) get "/server/:server/processlist.json" $ apiGetProcessList ps |