Update redbean documentation for consistency and to fix a typo (#97).

This commit is contained in:
Paul Kulchenko 2021-08-03 15:19:44 -07:00
parent f7b4804251
commit 2638c95993

View file

@ -673,7 +673,7 @@ FUNCTIONS
minor (mm), and patch (pp) versions encoded. The version value 1.4
would be represented as 0x010400.
GetZipPaths() → array[str]
GetZipPaths() → {path:str,...}
Returns paths of all assets in the zip central directory, prefixed
by a slash.
@ -866,7 +866,7 @@ FUNCTIONS
Sleep(seconds:number)
Sleeps the specified number of seconds (can be fractional). The
smallest interval is a millisecond.
smallest interval is a microsecond.
Route([host:str,[path:str]])
Instructs redbean to follow the normal HTTP serving path. This