Re-establish proxy setting when tor is disabled
This commit is contained in:
parent
a63785a9ca
commit
f2be32cb12
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue