mirror of
https://github.com/avwo/whistle.git
synced 2026-10-29 15:09:28 +08:00
refactor: refine code
This commit is contained in:
+1
-1
@@ -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();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user