File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -113,8 +113,11 @@ class Cdn {
113
113
await this . purgeCdnUrls ( RefreshCdn . Urls , RefreshCdn . FlushType ) ;
114
114
}
115
115
return {
116
+ resourceId : domainExist . ResourceId ,
117
+ https : ! ! Https ,
116
118
domain : Domain ,
117
119
origins : domainExist . Origin . Origins ,
120
+ cname : `${ Domain } .cdn.dnsv1.com` ,
118
121
refreshUrls : RefreshCdn . Urls ,
119
122
} ;
120
123
}
@@ -149,15 +152,14 @@ class Cdn {
149
152
} ) ;
150
153
151
154
const outputs = {
152
- https : false ,
155
+ https : ! ! Https ,
153
156
domain : Domain ,
154
157
origins : cdnInputs . Origin . Origins ,
155
158
cname : `${ Domain } .cdn.dnsv1.com` ,
156
159
inputCache : JSON . stringify ( inputs ) ,
157
160
} ;
158
161
159
162
if ( Https ) {
160
- outputs . https = true ;
161
163
cdnInputs . Https = {
162
164
Switch : Https . Switch || 'on' ,
163
165
Http2 : Https . Http2 || 'off' ,
You can’t perform that action at this time.
0 commit comments