@@ -1 +1 @@
-{"version":"1.7.0","build_id":61,"total_build":131}
+{"version":"1.7.0","build_id":62,"total_build":132}
@@ -13,7 +13,6 @@ const data = reactive({
theme: settingsStore.theme
})
-
function save() {
settingsStore.set_theme(data.theme)
settingsStore.set_preference_theme(data.theme)
@@ -63,6 +63,10 @@ func IssueCert(domain []string, logChan chan string, errChan chan error) {
config.CADirURL = "https://acme-staging-v02.api.letsencrypt.org/directory"
}
+ if settings.ServerSettings.CADir != "" {
+ config.CADirURL = settings.ServerSettings.CADir
+ }
+
config.Certificate.KeyType = certcrypto.RSA2048
logChan <- "Creating client facilitates communication with the CA server"
@@ -24,6 +24,7 @@ type Server struct {
Email string
Database string
StartCmd string
+ CADir string
Demo bool
PageSize int
@@ -41,6 +42,7 @@ var ServerSettings = &Server{
StartCmd: "login",
Demo: false,
PageSize: 10,
+ CADir: "",
var NginxLogSettings = &NginxLog{