Skip to content

Commit a31778b

Browse files
Merge pull request #234641 from vicancy/patch-4
Update signalr-quickstart-azure-functions-javascript.md
2 parents c933613 + 87ad6f6 commit a31778b

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

articles/azure-signalr/signalr-quickstart-azure-functions-javascript.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ When you run the `func new` command from the root directory of the project, the
8888
}
8989
```
9090

91-
1. Edit *index/\__init\__.py* and replace the contents with the following code:
91+
1. Edit *index/index.js* and replace the contents with the following code:
9292

9393
```javascript
9494
var fs = require('fs').promises
@@ -265,16 +265,13 @@ The client interface for this app is a web page. The `index` function reads HTML
265265

266266

267267
### Add the SignalR Service connection string to the function app settings
268-
=======
269-
1. Azure Functions requires a storage account to work. You can install and run the [Azure Storage Emulator](../storage/common/storage-use-azurite.md). **Or** you can update the setting to use your real storage account with the following command:
268+
269+
Azure Functions requires a storage account to work. You can install and run the [Azure Storage Emulator](../storage/common/storage-use-azurite.md). **Or** you can update the setting to use your real storage account with the following command:
270270
```bash
271271
func settings add AzureWebJobsStorage "<storage-connection-string>"
272272
```
273273

274-
4. You're almost done now. The last step is to set a connection string of the SignalR Service to Azure Function settings.
275-
276-
277-
The last step is to set the SignalR Service connection string in Azure Function app settings.
274+
You're almost done now. The last step is to set the SignalR Service connection string in Azure Function app settings.
278275

279276
1. In the Azure portal, go to the SignalR instance you deployed earlier.
280277
1. Select **Keys** to view the connection strings for the SignalR Service instance.
@@ -289,7 +286,6 @@ The last step is to set the SignalR Service connection string in Azure Function
289286

290287
### Run the Azure Function app locally
291288

292-
293289
Start the Azurite storage emulator:
294290

295291
```bash

0 commit comments

Comments
 (0)