Fixed https in App.fullBaseUrl for SSL=false.

This commit is contained in:
Alexey Zhokhov 2017-10-30 01:34:58 +08:00 committed by GitHub
parent d256190f3e
commit d8948656a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ core_setup() {
sed -i s:$default_seed:${CIPHERSEED:-$default_seed}:g $core_config
sed -i "/example.com/ s:\/\/::" $core_config
sed -i s:example.com:${URL:-$default_url}:g $core_config
if [ "$ssl" != false ]; then
if [ "${SSL:-true}" != false ]; then
sed -i s:http:https:g $core_config
fi
}