@@ -3,17 +3,17 @@ const path = require('path')
33module . exports = function kenticokontent ( moduleOptions ) {
44 const options = Object . assign ( {
55 projectId : process . env . KENTICOKONTENT_PROJECTID || '' ,
6- previewApiKey : process . env . KENTICOKONTENT_PREVIEWAPIKEY || null ,
76 enableAdvancedLogging : process . env . KENTICOKONTENT_ENABLEADVANCEDLOGGING || false ,
87 globalQueryConfig : {
9- usePreviewMode : process . env . KENTICOKONTENT_ENABLEPREVIEWMODE || false
10- } ,
8+ usePreviewMode : process . env . KENTICOKONTENT_USEPREVIEWMODE || false ,
9+ useSecureMode : process . env . KENTICOKONTENT_USESECUREMODE || false
10+ } ,
1111 defaultLanguage : process . env . KENTICOKONTENT_DEFAULTLANGUAGE || null ,
1212 retryAttempts : process . env . KENTICOKONTENT_RETRYATTEMPTS || null ,
1313 baseUrl : process . env . KENTICOKONTENT_BASEURL || null ,
1414 proxyUrl : process . env . KENTICOKONTENT_PROXYURL || null ,
15- securedApiKey : process . env . KENTICOKONTENT_SECUREDAPIKEY || null ,
16- enableSecuredMode : process . env . KENTICOKONTENT_ENABLESECUREDMODE || false ,
15+ secureApiKey : process . env . KENTICOKONTENT_SECUREAPIKEY || null ,
16+ previewApiKey : process . env . KENTICOKONTENT_PREVIEWAPIKEY || null ,
1717 isDeveloperMode : process . env . KENTICOKONTENT_ISDEVELOPERMODE || false ,
1818 config : {
1919 environment : this . options . dev ? 'development' : 'production'
0 commit comments