mirror of
https://github.com/zizifn/edgetunnel
synced 2024-11-23 10:18:13 +00:00
add doh for udp dns
This commit is contained in:
parent
c15aa52ffc
commit
43fad05dcd
@ -87,7 +87,7 @@ async function vlessOverWSHandler(request) {
|
||||
// ws --> remote
|
||||
readableWebSocketStream.pipeTo(new WritableStream({
|
||||
async write(chunk, controller) {
|
||||
if (isDns) {
|
||||
if (isDns && udpStreamWrite) {
|
||||
return udpStreamWrite(chunk);
|
||||
}
|
||||
if (remoteSocketWapper.value) {
|
||||
|
Loading…
Reference in New Issue
Block a user