http for onion

This commit is contained in:
Bob Mottram 2017-05-26 17:24:45 +01:00
parent 1ace399a60
commit 9ad05b9515
1 changed files with 1 additions and 1 deletions

View File

@ -469,7 +469,7 @@ function install_cryptpad {
if [[ $ONION_ONLY == 'no' ]]; then
sed -i "s|domain:.*|domain: 'https://$CRYPTPAD_DOMAIN_NAME',|g" config.js
else
sed -i "s|domain:.*|domain: 'https://$CRYPTPAD_ONION_HOSTNAME',|g" config.js
sed -i "s|domain:.*|domain: 'http://$CRYPTPAD_ONION_HOSTNAME',|g" config.js
fi
chown -R cryptpad:cryptpad $CRYPTPAD_DIR