Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ if (process.env.APPLICATIONINSIGHTS_CONNECTION_STRING) {
appInsights.setup()
.setAutoCollectRequests(true)
.setAutoCollectPerformance(true)
.setAutoCollectConsole(true, true)
.setAutoCollectExceptions(true)
.setAutoCollectDependencies(false)
.setAutoDependencyCorrelation(true)
Expand Down
2 changes: 0 additions & 2 deletions packages/cms/lib/modules/openstad-global/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ async function getSupportedLanguages(deeplAuthKey) {
supportedLanguages = cache.get(cacheKeyForLanguages);
}
else if (deeplAuthKey) {
console.log({deeplAuthKey})
try {
const translator = new deepl.Translator(deeplAuthKey, translatorConfig);
await translator.getTargetLanguages().then(response => {
Expand Down Expand Up @@ -69,7 +68,6 @@ async function getSupportedLanguages(deeplAuthKey) {
} else {
console.error({translationError: "Could not fetch languages for the translation widget: Key not set"});
}
console.log("deeplAuthKey")
return supportedLanguages;
}

Expand Down