File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
articles/azure-web-pubsub Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ description: A tutorial to walk through how to use Azure Web PubSub service and
4
4
author : vicancy
5
5
ms.author : lianwei
6
6
ms.service : azure-web-pubsub
7
+ ms.custom : devx-track-azurecli
7
8
ms.topic : tutorial
8
9
ms.date : 11/01/2021
9
10
---
@@ -21,7 +22,7 @@ In this tutorial, you learn how to:
21
22
22
23
[ !INCLUDE [ quickstarts-free-trial-note] ( ../../includes/quickstarts-free-trial-note.md )]
23
24
24
- [ !INCLUDE [ azure-cli-prepare-your-environment.md] ( ../../includes /azure-cli-prepare-your-environment.md)]
25
+ [ !INCLUDE [ azure-cli-prepare-your-environment.md] ( ~/articles/reusable-content/azure-cli /azure-cli-prepare-your-environment.md)]
25
26
26
27
- This setup requires version 2.22.0 or higher of the Azure CLI. If using Azure Cloud Shell, the latest version is already installed.
27
28
@@ -478,7 +479,7 @@ This will be useful if you want to stream a large amount of data to other client
478
479
479
480
` ` ` javascript
480
481
const WebSocket = require(' ws' );
481
- const fetch = require( ' node-fetch' );
482
+ const fetch = (...args) = > import( ' node-fetch' ).then (( {default : fetch}) => fetch(...args ) );
482
483
483
484
async function main() {
484
485
let res = await fetch(` http://localhost:8080/negotiate` );
You can’t perform that action at this time.
0 commit comments