Skip to content

Commit

Permalink
Remove unnecessary code in _worker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
3Kmfi6HP committed Feb 28, 2024
1 parent 125529e commit cc7dfd1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions _worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,6 @@ async function vlessOverWSHandler(request) {
if (hasError) {
// controller.error(message);
throw new Error(message); // cf seems has bug, controller.error will not end stream
// webSocket.close(1000, message);
return;
}

// If UDP and not DNS port, close it
Expand Down

0 comments on commit cc7dfd1

Please sign in to comment.