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 {
113113 await this . purgeCdnUrls ( RefreshCdn . Urls , RefreshCdn . FlushType ) ;
114114 }
115115 return {
116+ resourceId : domainExist . ResourceId ,
117+ https : ! ! Https ,
116118 domain : Domain ,
117119 origins : domainExist . Origin . Origins ,
120+ cname : `${ Domain } .cdn.dnsv1.com` ,
118121 refreshUrls : RefreshCdn . Urls ,
119122 } ;
120123 }
@@ -149,15 +152,14 @@ class Cdn {
149152 } ) ;
150153
151154 const outputs = {
152- https : false ,
155+ https : ! ! Https ,
153156 domain : Domain ,
154157 origins : cdnInputs . Origin . Origins ,
155158 cname : `${ Domain } .cdn.dnsv1.com` ,
156159 inputCache : JSON . stringify ( inputs ) ,
157160 } ;
158161
159162 if ( Https ) {
160- outputs . https = true ;
161163 cdnInputs . Https = {
162164 Switch : Https . Switch || 'on' ,
163165 Http2 : Https . Http2 || 'off' ,
You can’t perform that action at this time.
0 commit comments