Skip to content

Commit a5c126b

Browse files
authored
Update start-clash.sh (#46)
1 parent 4de7885 commit a5c126b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docker_app_clash/work/clash/start-clash.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
66
echo "Setting PROXY_PROVIDER to: ${PROXY_PROVIDER}!"
77
sed -i -e "s|PROXY_PROVIDER|${PROXY_PROVIDER}|g" "${CLASH_CONFIG_PATH:-"/opt/clash/config/config.yaml"}"
88

9+
export SAFE_PATHS="$DIR"
910
exec /opt/clash/clash -d config $@

0 commit comments

Comments
 (0)