swerc

anselm's simpler werc fork
git clone git://git.suckless.org/swerc
Log | Files | Refs | README

commit dd01f143dba046a1c71ffb938a4680712c03a458
parent 1995d43d318899ae8f1cdbd29f86ca1e2c86eca2
Author: uriel@engel.se.cat-v.org <unknown>
Date:   Sun, 11 Jan 2009 07:13:25 +0100

Move misplaced comment
Diffstat:
Mbin/werc.rc | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/werc.rc b/bin/werc.rc @@ -102,9 +102,9 @@ fn setup_handlers { if(! ~ $#enabled_apps 0) init_apps - # Dir listing if(! ~ $#handler_body_main 0) - { } # Pass + { } + # Dir listing if not if(~ $local_path */index) handler_body_main=(dir_listing_handler $local_path) # Explicit .html urls, the web server might handle this first!