Skip to content

Commit

Permalink
Revised Warp pro config tags, warp chain routing.
Browse files Browse the repository at this point in the history
  • Loading branch information
bia-pain-bache committed Jan 30, 2025
1 parent 31baf71 commit a249828
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/cores-configs/xray.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,12 @@ function buildXrayRoutingRules (proxySettings, outboundAddrs, isChain, isBalance
rules.push({
network: "udp",
port: "53",
ip: [
"1.1.1.1",
"1.0.0.1",
"2606:4700:4700::1111",
"2606:4700:4700::1001"
],
...rule
});
}
Expand Down Expand Up @@ -838,7 +844,7 @@ export async function getXrayWarpConfigs (request, env, client) {
const xrayWarpOutbounds = [];
const xrayWoWOutbounds = [];
const outboundDomains = warpEndpoints.split(',').map(endpoint => endpoint.split(':')[0]).filter(address => isDomain(address));
const proIndicator = client === 'nikang' ? ' Pro ' : ' ';
const proIndicator = client !== 'xray' ? ' Pro ' : ' ';
const xrayWarpChain = client === 'xray-pro' ? 'udp-noise' : undefined;
let freedomOutbound;

Expand Down

0 comments on commit a249828

Please sign in to comment.