소스 검색

Rename to routing

V2Ray 10 년 전
부모
커밋
869cd46450
3개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      app/point/config/json/json.go
  2. 1 1
      release/config/vpoint_socks_vmess.json
  3. 1 1
      release/config/vpoint_vmess_freedom.json

+ 1 - 1
app/point/config/json/json.go

@@ -16,7 +16,7 @@ import (
 type Config struct {
 	PortValue            uint16                         `json:"port"` // Port of this Point server.
 	LogConfigValue       *LogConfig                     `json:"log"`
-	RouterConfigValue    *routerconfigjson.RouterConfig `json:"router"`
+	RouterConfigValue    *routerconfigjson.RouterConfig `json:"routing"`
 	InboundConfigValue   *ConnectionConfig              `json:"inbound"`
 	OutboundConfigValue  *ConnectionConfig              `json:"outbound"`
 	InboundDetoursValue  []*InboundDetourConfig         `json:"inboundDetour"`

+ 1 - 1
release/config/vpoint_socks_vmess.json

@@ -33,7 +33,7 @@
       "tag": "direct"
     }
   ],
-  "router": {
+  "routing": {
     "strategy": "rules",
     "settings": {
       "rules": [

+ 1 - 1
release/config/vpoint_vmess_freedom.json

@@ -29,7 +29,7 @@
       "tag": "blocked"
     }
   ],
-  "router": {
+  "routing": {
     "strategy": "rules",
     "settings": {
       "rules": [