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",
"axios": "^1.6.5",
"debug": "^4.1.1",
"https-proxy-agent": "^7.0.4",
"node-forge": "^1.3.1"
},
"devDependencies": {

View File

@ -3,7 +3,7 @@
*/
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 { log } = require('./logger');
const axios1 = require('./axios');

View File

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

View File

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