http for onion
This commit is contained in:
parent
1ace399a60
commit
9ad05b9515
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue