mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-03-03 15:38:22 +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 |