File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -800,8 +800,8 @@ sing-box_variables() {
800
800
fi
801
801
802
802
# 检测是否解锁 chatGPT
803
- CHAT_GPT_OUT_V4=warp-IPv4-out ; CHAT_GPT_OUT_V6=warp-IPv6-out ;
804
- [ " $( check_chatgpt ${DOMAIN_STRATEG: -1} ) " = ' unlock' ] && CHAT_GPT_OUT_V4=direct && CHAT_GPT_OUT_V6 =direct
803
+ CHAT_GPT_OUT=wireguard-ep ;
804
+ [ " $( check_chatgpt ${DOMAIN_STRATEG: -1} ) " = ' unlock' ] && CHAT_GPT_OUT =direct
805
805
806
806
# 选择安装的协议,由于选项 a 为全部协议,所以选项数不是从 a 开始,而是从 b 开始,处理输入:把大写全部变为小写,把不符合的选项去掉,把重复的选项合并
807
807
MAX_CHOOSE_PROTOCOLS=$( asc $[CONSECUTIVE_PORTS+96+1])
@@ -1180,6 +1180,7 @@ EOF
1180
1180
"172.16.0.2/32",
1181
1181
"2606:4700:110:8a36:df92:102a:9602:fa18/128"
1182
1182
],
1183
+ "domain_strategy":"${DOMAIN_STRATEG} ",
1183
1184
"private_key":"YFYOAdbw1bKTHlNNi+aEjBM3BO7unuFC5rOkMRAz9XY=",
1184
1185
"peers": [
1185
1186
{
@@ -1220,11 +1221,11 @@ EOF
1220
1221
},
1221
1222
{
1222
1223
"domain":"api.openai.com",
1223
- "outbound":"${CHAT_GPT_OUT_V4 } "
1224
+ "outbound":"${CHAT_GPT_OUT } "
1224
1225
},
1225
1226
{
1226
1227
"rule_set":"geosite-openai",
1227
- "outbound":"${CHAT_GPT_OUT_V6 } "
1228
+ "outbound":"${CHAT_GPT_OUT } "
1228
1229
}
1229
1230
]
1230
1231
}
@@ -3107,4 +3108,4 @@ if [ "$NONINTERACTIVE_INSTALL" = 'noninteractive_install' ]; then
3107
3108
else
3108
3109
menu_setting
3109
3110
menu
3110
- fi
3111
+ fi
You can’t perform that action at this time.
0 commit comments