Skip to content

Commit a56cb96

Browse files
authored
Merge pull request #186446 from algorni/patch-4
Updated PubSub Chat sample to create proper hub
2 parents 0c98407 + 0cbeb1c commit a56cb96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-web-pubsub/tutorial-build-chat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ Use the Azure CLI [az webpubsub hub create](/cli/azure/webpubsub/hub#az_webpubsu
607607
> Replace <domain-name> with the name ngrok printed.
608608
609609
```azurecli-interactive
610-
az webpubsub hub create -n "<your-unique-resource-name>" -g "myResourceGroup" --hub-name "chat" --event-handler url-template="https://<domain-name>.ngrok.io/eventHandler" user-event-pattern="*" system-event="connected"
610+
az webpubsub hub create -n "<your-unique-resource-name>" -g "myResourceGroup" --hub-name "SampleChatHub" --event-handler url-template="https://<domain-name>.ngrok.io/eventHandler" user-event-pattern="*" system-event="connected"
611611
```
612612
613613
After the update is completed, open the home page http://localhost:8080/index.html, input your user name, you’ll see the connected message printed in the server console.

0 commit comments

Comments
 (0)