Re-establish proxy setting when tor is disabled

This commit is contained in:
Bob Mottram 2018-05-04 11:36:19 +01:00
parent a63785a9ca
commit f2be32cb12
1 changed files with 1 additions and 0 deletions

View File

@ -778,6 +778,7 @@ function configure_interactive_pleroma {
function pleroma_disable_tor { function pleroma_disable_tor {
if grep -q '9050' $pleroma_secret; then if grep -q '9050' $pleroma_secret; then
sed -i '/9050/d' $pleroma_secret sed -i '/9050/d' $pleroma_secret
sed -i 's|# config :pleroma, :http, proxy_url:|config :pleroma, :http, proxy_url:|g' $PLEROMA_DIR/config/config.exs
pleroma_recompile pleroma_recompile
fi fi
} }