uhttpd.uc 204 B

123456789101112
  1. {%
  2. import dispatch from 'luci.dispatcher';
  3. import request from 'luci.http';
  4. global.handle_request = function(env) {
  5. let req = request(env, uhttpd.recv, uhttpd.send);
  6. dispatch(req);
  7. req.close();
  8. };