mirror of
https://github.com/certd/certd.git
synced 2026-06-24 03:07:31 +08:00
chore: handsfree.work 域名 修改
This commit is contained in:
@@ -60,7 +60,7 @@ export class SysPlusController extends BaseController {
|
||||
// const bindUrl = 'http://127.0.0.1:7001/';
|
||||
// const service = new PlusRequestService({
|
||||
// subjectId: subjectId,
|
||||
// plusServerBaseUrls: ['https://api.ai.handsfree.work'],
|
||||
// plusServerBaseUrls: ['https://api.ai.handfree.work'],
|
||||
// });
|
||||
// const body = { subjectId, appKey: 'kQth6FHM71IPV3qdWc', url: bindUrl };
|
||||
//
|
||||
|
||||
@@ -11,7 +11,7 @@ import { PipelineEntity } from "../../../modules/pipeline/entity/pipeline.js";
|
||||
const pipelineExample = `
|
||||
// 流水线配置示例,实际传送时要去掉注释
|
||||
{
|
||||
"title": "handsfree.work证书自动化", //标题
|
||||
"title": "handfree.work证书自动化", //标题
|
||||
"runnableType": "pipeline", //类型,固定为pipeline
|
||||
"projectId": 1, // 项目ID, 未开启企业模式,无需传递
|
||||
"type": "cert", // 流水线类型,cert:证书自动化, custom :自定义流水线
|
||||
|
||||
+2
-2
@@ -28,12 +28,12 @@ describe("DnsPersistRecordService", () => {
|
||||
const service = new DnsPersistRecordService();
|
||||
|
||||
const record = await service.buildRecord({
|
||||
domain: "aaa.handsfree.work",
|
||||
domain: "aaa.handfree.work",
|
||||
accountUri: "https://example.com/acct/1",
|
||||
});
|
||||
|
||||
assert.equal(record.hostRecord, "_validation-persist.aaa");
|
||||
assert.equal(record.mainDomain, "handsfree.work");
|
||||
assert.equal(record.mainDomain, "handfree.work");
|
||||
assert.equal(record.recordValue, "letsencrypt.org; accounturi=https://example.com/acct/1; policy=wildcard");
|
||||
});
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ export class CertApplyLegoPlugin extends CertApplyBasePlugin {
|
||||
// vModel: "value",
|
||||
// options: [
|
||||
// { value: "https://acme-v02.api.letsencrypt.org/directory", label: "Let's Encrypt" },
|
||||
// { value: "https://letsencrypt.proxy.handsfree.work/directory", label: "Let's Encrypt代理,letsencrypt.org无法访问时使用" },
|
||||
// { value: "https://letsencrypt.proxy.handfree.work/directory", label: "Let's Encrypt代理,letsencrypt.org无法访问时使用" },
|
||||
// ],
|
||||
// },
|
||||
// required: true,
|
||||
|
||||
@@ -132,7 +132,7 @@ export class HostDeployToIIS extends AbstractPlusTaskPlugin {
|
||||
*
|
||||
* SiteName HttpsBindings
|
||||
* -------- -------------
|
||||
* first *:443:first.handsfree.work
|
||||
* first *:443:first.handfree.work
|
||||
*/
|
||||
// 解析获取网站名称
|
||||
const siteOptions = [];
|
||||
|
||||
+1
-1
@@ -118,7 +118,7 @@ export class CtyunDeployToCDN extends AbstractTaskPlugin {
|
||||
const domain_details = res.domain_details;
|
||||
const errorMessage = "";
|
||||
for (const domainDetail of domain_details) {
|
||||
// "code":200002,"domain":"ctyun.handsfree.work","message":"参数cert_name只在https_status为on时才有效"}
|
||||
// "code":200002,"domain":"ctyun.handfree.work","message":"参数cert_name只在https_status为on时才有效"}
|
||||
if (domainDetail.code !== 100000) {
|
||||
const thisMessage = `部署失败[${domainDetail.code}]:${domainDetail.domain}:${domainDetail.message}`;
|
||||
if (thisMessage.includes("已有进行中的工单") || errorMessage.includes("域名正在操作中")) {
|
||||
|
||||
@@ -47,7 +47,7 @@ export class QiniuDeployCertToCDN extends AbstractTaskPlugin {
|
||||
@TaskInput(
|
||||
createRemoteSelectInputDefine({
|
||||
title: "CDN加速域名",
|
||||
helper: "你在七牛云上配置的CDN加速域名,比如:certd.handsfree.work",
|
||||
helper: "你在七牛云上配置的CDN加速域名,比如:certd.handfree.work",
|
||||
rules: [{ type: "domains", allowDotStart: true }],
|
||||
action: QiniuDeployCertToCDN.prototype.onGetDomainList.name,
|
||||
required: true,
|
||||
|
||||
@@ -17,7 +17,7 @@ import { QiniuAccess, QiniuClient } from "../../plugin-lib/qiniu/index.js";
|
||||
export class QiniuDeployCertToOSS extends AbstractTaskPlugin {
|
||||
@TaskInput({
|
||||
title: "自定义源站域名",
|
||||
helper: "你在七牛云上配置的OSS域名,比如:certd.handsfree.work",
|
||||
helper: "你在七牛云上配置的OSS域名,比如:certd.handfree.work",
|
||||
required: true,
|
||||
})
|
||||
domainName!: string;
|
||||
|
||||
@@ -157,7 +157,7 @@ export class UCloudDeployToCDN extends AbstractTaskPlugin {
|
||||
}
|
||||
|
||||
/**
|
||||
* "Domain": "ucloud.certd.handsfree.work",
|
||||
* "Domain": "ucloud.certd.handfree.work",
|
||||
"DomainId": "ucdn-1kwdtph5ygbb"
|
||||
*/
|
||||
const options = list.map((item: any) => {
|
||||
|
||||
@@ -119,7 +119,7 @@ export class UCloudDeployToWaf extends AbstractTaskPlugin {
|
||||
}
|
||||
|
||||
/**
|
||||
* "Domain": "ucloud.certd.handsfree.work",
|
||||
* "Domain": "ucloud.certd.handfree.work",
|
||||
"DomainId": "ucdn-1kwdtph5ygbb"
|
||||
*/
|
||||
const options = list.map((item: any) => {
|
||||
|
||||
@@ -112,7 +112,7 @@ certificateKey
|
||||
}
|
||||
|
||||
/**
|
||||
* "Domain": "ucloud.certd.handsfree.work",
|
||||
* "Domain": "ucloud.certd.handfree.work",
|
||||
"DomainId": "ucdn-1kwdtph5ygbb"
|
||||
*/
|
||||
const options = list.map((item: any) => {
|
||||
|
||||
Reference in New Issue
Block a user