refactor: clean up configuration files by removing deprecated "type": "field" in routing rules

This commit is contained in:
kastov
2025-12-05 17:27:17 +03:00
committed by yuhan6665
parent 72a54c9a79
commit 070b65ee55
50 changed files with 245 additions and 280 deletions

View File

@@ -37,7 +37,6 @@
"routing": {
"rules": [
{
"type": "field",
"inboundTag": [
"bridge"
],
@@ -47,7 +46,6 @@
"outboundTag": "interconn"
},
{
"type": "field",
"inboundTag": [
"bridge"
],

View File

@@ -6,7 +6,6 @@
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"type": "field",
"port": "0-65535",
"outboundTag": "proxy"
}

View File

@@ -35,14 +35,12 @@
"routing": {
"rules": [
{
"type": "field",
"inboundTag": [
"external"
],
"outboundTag": "portal"
},
{
"type": "field",
"inboundTag": [
"interconn"
],

View File

@@ -49,7 +49,6 @@
"routing": {
"rules": [
{
"type": "field",
"inboundTag": [
"bridge"
],
@@ -59,7 +58,6 @@
"outboundTag": "interconn"
},
{
"type": "field",
"inboundTag": [
"bridge"
],

View File

@@ -6,7 +6,6 @@
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"type": "field",
"port": "0-65535",
"outboundTag": "proxy"
}

View File

@@ -6,7 +6,6 @@
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"type": "field",
"port": "0-65535",
"outboundTag": "proxy"
}

View File

@@ -115,7 +115,6 @@
"routing": {
"rules": [
{
"type": "field",
"inboundTag": [
"external",
"externalws"
@@ -128,7 +127,6 @@
"outboundTag": "portal"
},
{
"type": "field",
"inboundTag": [
"interconn"
],
@@ -137,7 +135,6 @@
},
// 以下路由只会在第一条路由没被匹配到的情况下使用,因此无需额外处理
{
"type": "field",
"port": "0-65535",
"outboundTag": "direct"
}

View File

@@ -40,7 +40,6 @@
"routing": {
"rules": [
{
"type": "field",
"inboundTag": [
"bridge"
],
@@ -50,7 +49,6 @@
"outboundTag": "interconn"
},
{
"type": "field",
"inboundTag": [
"bridge"
],

View File

@@ -6,7 +6,6 @@
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"type": "field",
"port": "0-65535",
"outboundTag": "proxy"
}

View File

@@ -45,14 +45,12 @@
"routing": {
"rules": [
{
"type": "field",
"inboundTag": [
"external"
],
"outboundTag": "portal"
},
{
"type": "field",
"inboundTag": [
"interconn"
],