mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-08-23 03:51:18 +08:00
sed -i '' "s/REMOTE_PORT/$TARGET_REMOTE_PORT/" "$FRP_CONFIG_FILE"
This commit is contained in:
parent
ef052905ea
commit
a55e425227
@ -125,5 +125,5 @@ else
|
|||||||
echo "Only 1 or 2 are supported."
|
echo "Only 1 or 2 are supported."
|
||||||
exit 1 # 退出并返回错误码
|
exit 1 # 退出并返回错误码
|
||||||
fi
|
fi
|
||||||
sed -i "s/^remote_port = .*/remote_port = $TARGET_REMOTE_PORT/" "$FRP_CONFIG_FILE"
|
sed -i '' "s/REMOTE_PORT/$TARGET_REMOTE_PORT/" "$FRP_CONFIG_FILE"
|
||||||
sleep 2
|
sleep 2
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user