From 77d3f8cfae85ff1f502b01932caa379475d843ec Mon Sep 17 00:00:00 2001 From: Bibo Hao Date: Wed, 3 Dec 2025 23:54:45 +0800 Subject: [PATCH] Update start-clash.sh --- docker_app_clash/work/clash/start-clash.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docker_app_clash/work/clash/start-clash.sh b/docker_app_clash/work/clash/start-clash.sh index d955127..895456d 100644 --- a/docker_app_clash/work/clash/start-clash.sh +++ b/docker_app_clash/work/clash/start-clash.sh @@ -6,4 +6,5 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" echo "Setting PROXY_PROVIDER to: ${PROXY_PROVIDER}!" sed -i -e "s|PROXY_PROVIDER|${PROXY_PROVIDER}|g" "${CLASH_CONFIG_PATH:-"/opt/clash/config/config.yaml"}" +export SAFE_PATHS="$DIR" exec /opt/clash/clash -d config $@