mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-10-25 18:50:57 +00:00
If your redbean `/.init.lua` file defines a global callable named `OnHttpRequest` then redbean will delegate all serving control to your function. You may then restore the default serving paths, by calling the new `Route()`, `RouteHost()`, and `RoutePath()` APIs. Closes #150 |
||
|---|---|---|
| .. | ||
| .init.lua | ||
| .reload.lua | ||
| 404.html | ||
| hello.lua | ||
| index.html | ||
| redbean-form.lua | ||
| redbean-xhr.lua | ||
| redbean.css | ||
| redbean.lua | ||
| seekable.txt | ||