refactor: refine code

This commit is contained in:
avwo
2021-08-23 19:29:37 +08:00
parent ac6e4100dd
commit 9708f94c48
5 changed files with 30 additions and 13 deletions
+1 -1
View File
@@ -592,7 +592,7 @@ function resolveWebsocket(socket, wss) {
delete curResHeaders[name];
});
util.disableResProps(socket, curResHeaders);
curStatus = util.getMatcherValue(_rules.replaceStatus) || util.getMatcherValue(_rules.statusCode);
curStatus = util.getMatcherValue(_rules.replaceStatus);
callback();
});
});