Skip to content

Commit

Permalink
Put baked .htaccess in the correct directory
Browse files Browse the repository at this point in the history
  • Loading branch information
tdammers committed Jun 5, 2017
1 parent 2e2af01 commit 7fccc18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Web/Sprinkles/Bake.hs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ runBake baseDir entryPoints app a =

bakeHtaccess :: Bake ()
bakeHtaccess = do
liftIO $ writeFile ".htaccess" defHtaccess
basedir <- use bsBasedir
liftIO $ writeFile (basedir </> ".htaccess") defHtaccess

bakeApp :: Bake ()
bakeApp = do
Expand Down

0 comments on commit 7fccc18

Please sign in to comment.