mirror of
https://github.com/certd/certd.git
synced 2026-04-24 20:57:26 +08:00
fix: 修复腾讯云cdn部署无法选择端点的bug
Closes https://github.com/certd/certd/issues/34
This commit is contained in:
@@ -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": {
|
||||||
|
|||||||
@@ -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');
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
plugins: {
|
plugins: {
|
||||||
tailwindcss: {},
|
// tailwindcss: {},
|
||||||
autoprefixer: {}
|
autoprefixer: {}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user