Skip to content

Commit f7faf0b

Browse files
committed
test: update cdn test
1 parent 3ab7335 commit f7faf0b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

__tests__/cdn.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ describe('Cdn', () => {
1010
const inputs = {
1111
async: false,
1212
area: 'overseas',
13-
domain: 'test.yuga.chat',
13+
domain: process.env.SUB_DOMAIN,
1414
origin: {
15-
origins: ['up6pwd9-89hm718-xxx.cos-website.ap-guangzhou.myqcloud.com'],
15+
origins: [`${process.env.BUCKET}-${process.env.TENCENT_APP_ID}.cos.${process.env.REGION}.myqcloud.com`],
1616
originType: 'cos',
1717
originPullProtocol: 'https',
1818
},
@@ -21,7 +21,7 @@ describe('Cdn', () => {
2121
switch: 'on',
2222
http2: 'on',
2323
certInfo: {
24-
certId: 'cWOJJjax',
24+
certId: process.env.SUB_DOMAIN_CERT_ID,
2525
},
2626
},
2727
forceRedirect: {

0 commit comments

Comments
 (0)