From 2715822e6ae3ab5ba0cbd3e6a303007f32ffd18b Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sun, 19 Jun 2016 00:54:54 +0800 Subject: Do not serve /index.html --- src/Application.hs | 1 - 1 file changed, 1 deletion(-) 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 -- cgit v1.2.3