mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-07 01:41:39 +00:00
add SERVICE_URL
This commit is contained in:
@@ -1056,6 +1056,8 @@ class SeahubConfigurator(AbstractConfigurator):
|
||||
fp.write('\n')
|
||||
self.write_secret_key(fp)
|
||||
fp.write('\n')
|
||||
fp.write('SERVICE_URL = "http://%s/"' % ccnet_config.ip_or_domain)
|
||||
fp.write('\n')
|
||||
self.write_database_config(fp)
|
||||
|
||||
def write_utf8_comment(self, fp):
|
||||
|
@@ -548,6 +548,9 @@ if [[ ! -f ${dest_settings_py} ]]; then
|
||||
cat > ${dest_settings_py} <<EOF
|
||||
# -*- coding: utf-8 -*-
|
||||
SECRET_KEY = "$key"
|
||||
|
||||
SERVICE_URL = "http://$ip_or_domain/"
|
||||
|
||||
EOF
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user