mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 06:48:31 +00:00
Have redbean show zip listing as default / handler
If an "index.lua" or "index.html" doesn't exist in zip file or the filesystem, and no redirects have been defined for it either, then redbean will render a listing of the zip central directory content only if the request uri points to the root path.
This commit is contained in:
parent
ae300d0c40
commit
1753b669cf
10 changed files with 436 additions and 112 deletions
|
@ -1 +1,2 @@
|
|||
-- special script called by main redbean process at startup
|
||||
ProgramRedirect(0, '/favicon.ico', '/tool/net/redbean.ico')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue