Skip to content

Commit 8a324c5

Browse files
authored
Update
1 parent 7129a1f commit 8a324c5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

articles/azure-web-pubsub/tutorial-subprotocol.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ description: A tutorial to walk through how to use Azure Web PubSub service and
44
author: vicancy
55
ms.author: lianwei
66
ms.service: azure-web-pubsub
7+
ms.custom: devx-track-azurecli
78
ms.topic: tutorial
89
ms.date: 11/01/2021
910
---
@@ -21,7 +22,7 @@ In this tutorial, you learn how to:
2122
2223
[!INCLUDE [quickstarts-free-trial-note](../../includes/quickstarts-free-trial-note.md)]
2324

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)]
2526

2627
- This setup requires version 2.22.0 or higher of the Azure CLI. If using Azure Cloud Shell, the latest version is already installed.
2728

@@ -478,7 +479,7 @@ This will be useful if you want to stream a large amount of data to other client
478479
479480
```javascript
480481
const WebSocket = require('ws');
481-
const fetch = require('node-fetch');
482+
const fetch = (...args) => import('node-fetch').then(({default: fetch}) => fetch(...args));
482483

483484
async function main() {
484485
let res = await fetch(`http://localhost:8080/negotiate`);

0 commit comments

Comments
 (0)