Move app handler before default dir listing handler
This commit is contained in:
parent
25995097ed
commit
b029c8774b
@ -190,14 +190,14 @@ fn select_handler {
|
||||
if not if(test -f $body.txt)
|
||||
set_handler txt_handler $body.txt
|
||||
|
||||
# Dir listing
|
||||
if not if(~ $body */index)
|
||||
set_handler dir_listing_handler $body
|
||||
|
||||
# Apps
|
||||
if not if(! ~ $#enabled_apps 0 && select_apps)
|
||||
set_handler app_handler
|
||||
|
||||
# Dir listing
|
||||
if not if(~ $body */index)
|
||||
set_handler dir_listing_handler $body
|
||||
|
||||
# File not found
|
||||
if not {
|
||||
set_handler 404_handler $body
|
||||
|
Loading…
Reference in New Issue
Block a user