web: fix ~websocket filter

This commit is contained in:
Maximilian Hils 2022-03-19 14:37:06 +01:00
parent e8ae38c8b6
commit 628d6201ae
2 changed files with 2 additions and 2 deletions

View File

@ -2279,7 +2279,7 @@ export default (function() {
// ~websocket
function websocketFilter(flow){
return flow.type === "websocket";
return !!flow.websocket;
}
websocketFilter.desc = "is a Websocket Flow";

View File

@ -300,7 +300,7 @@ function url(regex){
// ~websocket
function websocketFilter(flow){
return flow.type === "websocket";
return !!flow.websocket;
}
websocketFilter.desc = "is a Websocket Flow";
}