Skip to content

Commit 32b4d14

Browse files
committed
Added logging to see the output
1 parent a357e38 commit 32b4d14

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/execute-translation.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ const uuidv4 = require('uuid/v4');
1616

1717
// Replace with process.env.subscriptionKey to get an access to Azure Cognitive services
1818
const subscriptionKey = process.env.SUBSCRIPTION_KEY;
19-
const endpoint = "https://api.cognitive.microsofttranslator.com";
19+
console.log(subscriptionKey);
20+
console.log(JSON.stringify(process.env));
21+
const endpoint = "https://westeurope.api.cognitive.microsoft.com";
2022

2123
const locHelper = require('./export-localization');
2224
// Load configuration for supported languages

0 commit comments

Comments
 (0)