Skip to content

Commit 06234c6

Browse files
authored
Merge pull request #100 from wiazur/patch-59
Updated endpoint and key
2 parents cee5448 + 82e469d commit 06234c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

javascript/InkRecognition/quickstart/recognize-ink.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
};
1919

2020
function recognizeInk() {
21-
var SERVER_ADDRESS = "https://api.cognitive.microsoft.com";
21+
var SERVER_ADDRESS = process.env["INK_RECOGNITION_ENDPOINT"];
2222
var ENDPOINT_URL = SERVER_ADDRESS + "/inkrecognizer/v1.0-preview/recognize";
23-
var SUBSCRIPTION_KEY = "YOUR_SUBSCRIPTION_KEY";
23+
var SUBSCRIPTION_KEY = process.env["INK_RECOGNITION_SUBSCRIPTION_KEY"];
2424

2525

2626
if (SUBSCRIPTION_KEY === "") {
@@ -68,4 +68,4 @@ <h2>Result</h2>
6868
<input type='file' accept='text/plain' onchange='openFile(event)'><br>
6969
</body>
7070

71-
</html>
71+
</html>

0 commit comments

Comments
 (0)