We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ab7335 commit f7faf0bCopy full SHA for f7faf0b
__tests__/cdn.test.js
@@ -10,9 +10,9 @@ describe('Cdn', () => {
10
const inputs = {
11
async: false,
12
area: 'overseas',
13
- domain: 'test.yuga.chat',
+ domain: process.env.SUB_DOMAIN,
14
origin: {
15
- origins: ['up6pwd9-89hm718-xxx.cos-website.ap-guangzhou.myqcloud.com'],
+ origins: [`${process.env.BUCKET}-${process.env.TENCENT_APP_ID}.cos.${process.env.REGION}.myqcloud.com`],
16
originType: 'cos',
17
originPullProtocol: 'https',
18
},
@@ -21,7 +21,7 @@ describe('Cdn', () => {
21
switch: 'on',
22
http2: 'on',
23
certInfo: {
24
- certId: 'cWOJJjax',
+ certId: process.env.SUB_DOMAIN_CERT_ID,
25
26
27
forceRedirect: {
0 commit comments