Skip to content

Commit

Permalink
fix: block requests when leastPing not ready
Browse files Browse the repository at this point in the history
Signed-off-by: yichya QC <mail@yichya.dev>
  • Loading branch information
yichya committed Feb 27, 2024
1 parent 75d7734 commit e26298c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/root/usr/share/xray/gen_config.uc
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ function inbounds(proxy, config, extra_inbound) {
function outbounds(proxy, config, manual_tproxy, bridge, extra_inbound, fakedns) {
let result = [
direct_outbound("direct", null),
blackhole_outbound(),
direct_outbound("direct", null),
...dns_server_outbounds(proxy),
...manual_tproxy_outbounds(config, manual_tproxy),
...bridge_outbounds(config, bridge)
Expand Down
2 changes: 1 addition & 1 deletion core/root/www/luci-static/resources/view/xray/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ return view.extend({
o.value("tcp+local", _("TCP (direct)"));
o.value("https", _("DNS over HTTPS"));
o.value("https+local", _("DNS over HTTPS (direct)"));
o.default = "UseIP";
o.default = "udp";
o.modalonly = true;

ss.tab('protocol', _('Protocol Settings'));
Expand Down

0 comments on commit e26298c

Please sign in to comment.