mirror of
https://github.com/bettercap/bettercap
synced 2025-07-06 21:12:05 -07:00
fix: no more explicit call to that ugly Updated method from proxy js plugins
This commit is contained in:
parent
3c2932514a
commit
adc2dde170
7 changed files with 26 additions and 16 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue