fix: no more explicit call to that ugly Updated method from proxy js plugins

This commit is contained in:
evilsocket 2018-02-08 12:32:22 +01:00
parent 3c2932514a
commit adc2dde170
7 changed files with 26 additions and 16 deletions

View file

@ -18,8 +18,6 @@ function onRequest(req, res) {
"<div align=\"center\">Hello world from bettercap-ng!</div>" +
"</body>" +
"</html>";
res.Updated();
}
}
@ -37,6 +35,5 @@ function onResponse(req, res) {
"<div align=\"center\">Custom 404 from bettercap-ng.</div>" +
"</body>" +
"</html>";
res.Updated();
}
}