mirror of
https://github.com/itdoginfo/podkop.git
synced 2026-05-14 16:57:58 +03:00
Compare commits
5 Commits
0.7.13
...
fix/defaul
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a7b6c36dfb | ||
|
|
f39e2d9ca9 | ||
|
|
00594f23fd | ||
|
|
0379cf5966 | ||
|
|
cfee6cec9a |
@@ -288,7 +288,10 @@ async function handleShowSingBoxConfig() {
|
||||
if (showSingBoxConfig.success) {
|
||||
ui.showModal(
|
||||
_('Show sing-box config'),
|
||||
renderModal(showSingBoxConfig.data as string, 'show_sing_box_config'),
|
||||
renderModal(
|
||||
JSON.stringify(showSingBoxConfig.data, null, 2),
|
||||
'show_sing_box_config',
|
||||
),
|
||||
);
|
||||
} else {
|
||||
logger.error(
|
||||
|
||||
@@ -4164,7 +4164,10 @@ async function handleShowSingBoxConfig() {
|
||||
if (showSingBoxConfig.success) {
|
||||
ui.showModal(
|
||||
_("Show sing-box config"),
|
||||
renderModal(showSingBoxConfig.data, "show_sing_box_config")
|
||||
renderModal(
|
||||
JSON.stringify(showSingBoxConfig.data, null, 2),
|
||||
"show_sing_box_config"
|
||||
)
|
||||
);
|
||||
} else {
|
||||
logger.error(
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
config settings 'settings'
|
||||
option dns_type 'udp'
|
||||
option dns_server '8.8.8.8'
|
||||
option dns_server '77.88.8.8'
|
||||
option bootstrap_dns_server '77.88.8.8'
|
||||
option dns_rewrite_ttl '60'
|
||||
list source_network_interfaces 'br-lan'
|
||||
|
||||
@@ -490,7 +490,7 @@ list_update() {
|
||||
local i
|
||||
|
||||
# DNS Check
|
||||
for i in $(seq 1 $nslookup_timeout); do
|
||||
for i in $(seq 1 $nslookup_attempts); do
|
||||
if nslookup -timeout=$nslookup_timeout openwrt.org > /dev/null 2>&1; then
|
||||
echolog "✅ DNS check passed"
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user