We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cee5448 + 82e469d commit 06234c6Copy full SHA for 06234c6
javascript/InkRecognition/quickstart/recognize-ink.html
@@ -18,9 +18,9 @@
18
};
19
20
function recognizeInk() {
21
- var SERVER_ADDRESS = "https://api.cognitive.microsoft.com";
+ var SERVER_ADDRESS = process.env["INK_RECOGNITION_ENDPOINT"];
22
var ENDPOINT_URL = SERVER_ADDRESS + "/inkrecognizer/v1.0-preview/recognize";
23
- var SUBSCRIPTION_KEY = "YOUR_SUBSCRIPTION_KEY";
+ var SUBSCRIPTION_KEY = process.env["INK_RECOGNITION_SUBSCRIPTION_KEY"];
24
25
26
if (SUBSCRIPTION_KEY === "") {
@@ -68,4 +68,4 @@ <h2>Result</h2>
68
<input type='file' accept='text/plain' onchange='openFile(event)'><br>
69
</body>
70
71
-</html>
+</html>
0 commit comments