mirror of
https://github.com/itdoginfo/podkop.git
synced 2026-02-01 07:10:46 +03:00
Update
This commit is contained in:
@@ -434,11 +434,7 @@ sing_box_config_vless() {
|
||||
|
||||
uuid=$(echo "$STRING" | cut -d'/' -f3 | cut -d'@' -f1)
|
||||
server=$(echo "$STRING" | cut -d'@' -f2 | cut -d':' -f1)
|
||||
#port=$(echo "$STRING" | cut -d'@' -f2 | cut -d':' -f2 | cut -d'/' -f1)
|
||||
port=$(echo "$STRING" | cut -d'@' -f2 | cut -d':' -f2 | cut -d'?' -f1)
|
||||
if [[ "$port" == */* ]]; then
|
||||
port=$(echo "$port" | cut -d'/' -f1)
|
||||
fi
|
||||
port=$(echo "$STRING" | cut -d'@' -f2 | cut -d':' -f2 | cut -d'?' -f1 | awk -F'/' '{print $1}')
|
||||
type=$(get_param "type")
|
||||
flow=$(get_param "flow")
|
||||
sni=$(get_param "sni")
|
||||
@@ -473,7 +469,6 @@ sing_box_config_vless() {
|
||||
else
|
||||
.
|
||||
end' "$template_config" >/etc/sing-box/config.json
|
||||
#! Добавить label в luci
|
||||
}
|
||||
|
||||
sing_box_config_check() {
|
||||
|
||||
Reference in New Issue
Block a user