summaryrefslogtreecommitdiff
path: root/src/Hakyll/Commands.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Hakyll/Commands.hs')
-rw-r--r--src/Hakyll/Commands.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Hakyll/Commands.hs b/src/Hakyll/Commands.hs
index e93736c..882fa09 100644
--- a/src/Hakyll/Commands.hs
+++ b/src/Hakyll/Commands.hs
@@ -121,9 +121,7 @@ server :: Configuration -> Logger -> String -> Int -> IO ()
#ifdef PREVIEW_SERVER
server conf logger host port = do
let destination = destinationDirectory conf
- staticServer logger destination preServeHook host port
- where
- preServeHook _ = return ()
+ staticServer logger destination host port
#else
server _ _ _ _ = previewServerDisabled
#endif