fix: 修复腾讯云cdn部署无法选择端点的bug

Closes https://github.com/certd/certd/issues/34
pull/68/head
xiaojunnuo 2024-03-12 00:31:16 +08:00
parent 98177a5b1e
commit 154409b1df
4 changed files with 13 additions and 12 deletions

View File

@ -20,6 +20,7 @@
"asn1js": "^3.0.5", "asn1js": "^3.0.5",
"axios": "^1.6.5", "axios": "^1.6.5",
"debug": "^4.1.1", "debug": "^4.1.1",
"https-proxy-agent": "^7.0.4",
"node-forge": "^1.3.1" "node-forge": "^1.3.1"
}, },
"devDependencies": { "devDependencies": {

View File

@ -3,7 +3,7 @@
*/ */
const { createHmac, createSign, constants: { RSA_PKCS1_PADDING } } = require('crypto'); const { createHmac, createSign, constants: { RSA_PKCS1_PADDING } } = require('crypto');
const HttpsProxyAgent = require('https-proxy-agent'); const { HttpsProxyAgent } = require('https-proxy-agent');
const { getJwk } = require('./crypto'); const { getJwk } = require('./crypto');
const { log } = require('./logger'); const { log } = require('./logger');
const axios1 = require('./axios'); const axios1 = require('./axios');

View File

@ -47,16 +47,16 @@ export class DeployToCdnPlugin extends AbstractTaskPlugin {
}) })
domainName!: string; domainName!: string;
@TaskInput({ // @TaskInput({
title: "CDN接口", // title: "CDN接口",
helper: "CDN接口端点", // helper: "CDN接口端点",
component: { // component: {
name: "a-select", // name: "a-select",
type: "tencent", // type: "tencent",
}, // },
required: true, // required: true,
}) // })
endpoint!: string; // endpoint!: string;
accessService!: IAccessService; accessService!: IAccessService;

View File

@ -1,6 +1,6 @@
module.exports = { module.exports = {
plugins: { plugins: {
tailwindcss: {}, // tailwindcss: {},
autoprefixer: {} autoprefixer: {}
} }
}; };