mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-02 15:09:33 -05:00
fix
This commit is contained in:
parent
428e05662f
commit
d619435219
@ -205,6 +205,9 @@ func loadServerFrom(rootCfg ConfigProvider) {
|
||||
deprecatedSetting(rootCfg, "server", "LETSENCRYPT_DIRECTORY", "server", "ACME_DIRECTORY", "v1.19.0")
|
||||
AcmeLiveDirectory = sec.Key("LETSENCRYPT_DIRECTORY").MustString("https")
|
||||
}
|
||||
if !filepath.IsAbs(AcmeLiveDirectory) {
|
||||
AcmeLiveDirectory = filepath.Join(AppDataPath, AcmeLiveDirectory)
|
||||
}
|
||||
|
||||
if sec.HasKey("ACME_EMAIL") {
|
||||
AcmeEmail = sec.Key("ACME_EMAIL").MustString("")
|
||||
|
Loading…
Reference in New Issue
Block a user