pull/30099/head
yp05327 8 months ago
parent 428e05662f
commit d619435219
  1. 3
      modules/setting/server.go

@ -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…
Cancel
Save