File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ let https = require ('https');
88// *** Update or verify the following values. ***
99// **********************************************
1010
11- // Replace the subscriptionKey string value with your valid subscription key .
12- let subscriptionKey = 'ENTER YOUR KEY HERE' ;
13-
14- let host = 'api.cognitive.microsoft.com' ;
11+ // Add your Bing Entity Search subscription key to your environment variables .
12+ let subscriptionKey = process . env [ 'BING_ENTITY_SEARCH_SUBSCRIPTION_KEY' ]
13+ // Add your Bing Entity Search endpoint to your environment variables.
14+ let host = process . env [ 'BING_ENTITY_SEARCH_ENDPOINT' ]
1515let path = '/bing/v7.0/entities' ;
1616
1717let mkt = 'en-US' ;
@@ -47,4 +47,4 @@ let Search = function () {
4747 req . end ( ) ;
4848}
4949
50- Search ( ) ;
50+ Search ( ) ;
You can’t perform that action at this time.
0 commit comments