1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 08:28:11 +00:00

perf: remove db and series seafile url in in (#7854)

it proc
This commit is contained in:
Huang Junxiang
2025-05-24 12:02:34 +08:00
committed by GitHub
parent 6f075147f1
commit 986a39cf53
2 changed files with 2 additions and 7 deletions

View File

@@ -875,7 +875,7 @@ class SeafileConfigurator(AbstractConfigurator):
with open(self.seafile_conf, 'w') as fp:
fp.write('[fileserver]\nport=%d\n' % self.fileserver_port)
self.generate_db_conf()
# self.generate_db_conf()
## use default seafile-data path: seafile_data_dir=${TOPDIR}/seafile-data
@@ -1006,8 +1006,6 @@ class SeahubConfigurator(AbstractConfigurator):
fp.write('\n')
self.write_secret_key(fp)
fp.write('\n')
fp.write('SERVICE_URL = "%s://%s"' % (self.get_proto(), ccnet_config.ip_or_domain))
fp.write('\n')
def write_utf8_comment(self, fp):
fp.write('# -*- coding: utf-8 -*-')