summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/ucode/uhttpd.uc
blob: df1ecc78657d9db618ab253c71497db4c66335fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{%

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();
};