Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nekohasekai committed Apr 3, 2022
1 parent c3bda01 commit f6060de
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,9 @@ fun buildV2RayConfig(
})
})
}
if (currentDomainStrategy == "AsIs") {
currentDomainStrategy = "UseIP"
}
} else {
currentOutbound.apply {
val keepAliveInterval = DataStore.tcpKeepAliveInterval
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,15 @@ fun StandardV2RayBean.toUri(): String {
}
}

when (packetEncoding) {
PacketAddrType.Packet_VALUE -> {
builder.addQueryParameter("packetEncoding", "packet")
}
PacketAddrType.XUDP_VALUE -> {
builder.addQueryParameter("packetEncoding", "xudp")
}
}

if (name.isNotBlank()) {
builder.setRawFragment(name.urlSafe())
}
Expand Down
2 changes: 1 addition & 1 deletion library/core
Submodule core updated 3 files
+2 −1 .github/workflows/debug.yml
+2 −2 go.mod
+4 −2 go.sum

0 comments on commit f6060de

Please sign in to comment.