mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-10-26 03:00: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 |
||
|---|---|---|
| .. | ||
| demo | ||
| .init.lua | ||
| dig.c | ||
| echoserver.c | ||
| favicon.ico | ||
| net.mk | ||
| redbean.c | ||
| redbean.png | ||