实现登录功能

This commit is contained in:
Alex Yang
2025-11-30 11:44:26 +08:00
parent 4f0815a5f9
commit 72aa2846e5
7 changed files with 441 additions and 38 deletions

View File

@@ -1,6 +1,6 @@
{
"dns": {
"port": 53,
"port": 5353,
"upstreamDNS": [
"223.5.5.5:53",
"223.6.6.6:53"
@@ -12,7 +12,9 @@
"http": {
"port": 8080,
"host": "0.0.0.0",
"enableAPI": true
"enableAPI": true,
"username": "admin",
"password": "admin"
},
"shield": {
"localRulesFile": "data/rules.txt",
@@ -98,7 +100,7 @@
"enabled": true
}
],
"updateInterval": 30,
"updateInterval": 3600,
"hostsFile": "data/hosts.txt",
"blockMethod": "NXDOMAIN",
"customBlockIP": "",