mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-07-27 18:41:15 +08:00
13 lines
204 B
Ucode
13 lines
204 B
Ucode
{%
|
|
|
|
import dispatch from 'luci.dispatcher';
|
|
import request from 'luci.http';
|
|
|
|
global.handle_request = function(env) {
|
|
let req = request(env, uhttpd.recv, uhttpd.send);
|
|
|
|
dispatch(req);
|
|
|
|
req.close();
|
|
};
|