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 8457dec commit bc541d6Copy full SHA for bc541d6
src/modules/cdn/index.js
@@ -158,7 +158,7 @@ class Cdn {
158
if (Https) {
159
outputs.https = true;
160
cdnInputs.Https = {
161
- Switch: Https.Switch,
+ Switch: Https.Switch || 'on',
162
Http2: Https.Http2 || 'off',
163
OcspStapling: Https.OcspStapling || 'off',
164
VerifyClient: Https.VerifyClient || 'off',
@@ -167,7 +167,7 @@ class Cdn {
167
}
168
if (ForceRedirect && Https) {
169
cdnInputs.ForceRedirect = {
170
- Switch: ForceRedirect.Switch,
+ Switch: ForceRedirect.Switch || 'on',
171
RedirectStatusCode: ForceRedirect.RedirectStatusCode || 301,
172
RedirectType: 'https',
173
};
0 commit comments