Skip to content

Commit a753513

Browse files
author
alfredbrockotter
committed
feat(configuration): Added configuration settings for using the secure API
1 parent c4bae12 commit a753513

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/module.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ module.exports = function kenticocloud (moduleOptions) {
1010
enablePreviewMode: process.env.KENTICOCLOUD_ENABLEPREVIEWMODE || false,
1111
defaultLanguage: process.env.KENTICOCLOUD_DEFAULTLANGUAGE || null,
1212
retryAttempts: process.env.KENTICOCLOUD_RETRYATTEMPTS || null,
13-
baseUrl: process.env.baseUrl || null,
13+
baseUrl: process.env.KENTICOCLOUD_BASEURL || null,
14+
proxyUrl: process.env.KENTICOCLOUD_PROXYURL || null,
15+
securedApiKey: process.env.KENTICOCLOUD_SECUREDAPIKEY || null,
16+
enableSecuredMode: process.env.KENTICOCLOUD_ENABLESECUREDMODE || false,
1417
config: {
1518
environment: this.options.dev ? 'development' : 'production'
1619
}

0 commit comments

Comments
 (0)