feat(sftp-server): do not generate host key until first enabled (#7734)

This commit is contained in:
KirCute_ECT
2024-12-30 22:54:37 +08:00
committed by GitHub
parent ed149be84b
commit aa1082a56c
6 changed files with 30 additions and 27 deletions

View File

@ -15,7 +15,6 @@ import (
func Init() {
bootstrap.InitConfig()
bootstrap.Log()
bootstrap.InitHostKey()
bootstrap.InitDB()
data.InitData()
bootstrap.InitIndex()