Skip to content

Commit c52aa1a

Browse files
author
Piotr Siatka
committed
Fix Translator API URL
1 parent 99c8bff commit c52aa1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/execute-translation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ 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://westeurope.api.cognitive.microsoft.com/";
19+
const endpoint = "https://api.cognitive.microsofttranslator.com";
2020

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

0 commit comments

Comments
 (0)