aboutsummaryrefslogtreecommitdiff
path: root/reploy.hs
diff options
context:
space:
mode:
authorMirek Kratochvil <exa.exa@gmail.com>2023-10-23 20:05:46 +0200
committerMirek Kratochvil <exa.exa@gmail.com>2023-10-23 20:44:49 +0200
commit7a60fce085b5ae8d9f17699489415f20a5f18f8c (patch)
treed5e6e55a5aaa16423f754ed457d1f1721b6f81b5 /reploy.hs
parente3d1f22ff17e82c530ba755824600fd033283538 (diff)
downloadreploy-7a60fce085b5ae8d9f17699489415f20a5f18f8c.tar.gz
reploy-7a60fce085b5ae8d9f17699489415f20a5f18f8c.tar.bz2
switch to a safe version of </>
Diffstat (limited to 'reploy.hs')
-rw-r--r--reploy.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/reploy.hs b/reploy.hs
index 78574d4..b748e08 100644
--- a/reploy.hs
+++ b/reploy.hs
@@ -306,7 +306,7 @@ installRedirect target' from = do
target <- rootedPageLink target'
tname <- use redirectTemplate
templ <- use $ templates . to (M.! fromString tname)
- file <- indexFilename from
+ file <- indexFilename (unAbsolute from)
checkTarget file
io $ do
putStrLn $ "@ -> " ++ file ++ " -> " ++ target