fix portMap json (#3312)

Co-authored-by: Alireza Ahmadi <alireza7@gmail.com>
This commit is contained in:
Sanaei 2025-08-04 17:16:11 +02:00 committed by GitHub
parent 45f78d3521
commit baf6fdd29d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2339,7 +2339,7 @@ Inbound.DokodemoSettings = class extends Inbound.Settings {
return {
address: this.address,
port: this.port,
portMap: XrayCommonClass.toV2Headers(this.portMap),
portMap: XrayCommonClass.toV2Headers(this.portMap, false),
network: this.network,
followRedirect: this.followRedirect,
};