Skip to content

Commit

Permalink
fix: 修复腾讯云cdn部署无法选择端点的bug
Browse files Browse the repository at this point in the history
Closes #34
  • Loading branch information
greper committed Mar 11, 2024
1 parent 98177a5 commit 154409b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
1 change: 1 addition & 0 deletions packages/core/acme-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/acme-client/src/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
20 changes: 10 additions & 10 deletions packages/plugins/plugin-tencent/src/plugin/deploy-to-cdn/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion packages/ui/certd-client/postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
// tailwindcss: {},
autoprefixer: {}
}
};

0 comments on commit 154409b

Please sign in to comment.