v0.01: 修复死锁Bug + DNS-01默认 + 超时调整

This commit is contained in:
2026-05-13 10:58:29 +08:00
parent 3fa77d9bc0
commit a9842e9212
7 changed files with 114 additions and 51 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import axios from 'axios'
const api = axios.create({
baseURL: '/api',
timeout: 60000,
timeout: 300000,
})
export interface Certificate {
+3 -3
View File
@@ -27,8 +27,8 @@
<el-form-item label="验证方式" prop="challenge_type">
<el-radio-group v-model="form.challenge_type" @change="onChallengeChange">
<el-radio value="http">HTTP-01(推荐)</el-radio>
<el-radio value="dns">DNS-01</el-radio>
<el-radio value="dns">DNS-01(推荐)</el-radio>
<el-radio value="http">HTTP-01(需80端口)</el-radio>
</el-radio-group>
</el-form-item>
@@ -100,7 +100,7 @@ const form = reactive({
domain: '',
email: '',
provider: 'letsencrypt',
challenge_type: 'http',
challenge_type: 'dns',
dns_provider: 'alidns',
auto_renew: true,
renew_days: 30,