@@ -45,7 +45,7 @@ The loaded configuration is updated when a change is detected on the server.
45
45
46
46
1 . Open the file * app.js* and update the ` load ` function with ` refreshOptions ` specified.
47
47
48
- ### [ Use configuration as Map] ( #tab/configurtion -map )
48
+ ### [ Use configuration as Map] ( #tab/configuration -map )
49
49
50
50
``` javascript
51
51
// Connecting to Azure App Configuration using connection string
@@ -59,7 +59,7 @@ The loaded configuration is updated when a change is detected on the server.
59
59
});
60
60
```
61
61
62
- ### [Use configuration as object](#tab/ configurtion - object)
62
+ ### [Use configuration as object](#tab/ configuration - object)
63
63
64
64
The configuration object is constructed by calling ` constructConfigurationObject` function .
65
65
So you need to add a callback to ensure the object is also updated after a refresh.
@@ -98,12 +98,12 @@ The loaded configuration is updated when a change is detected on the server.
98
98
99
99
1. At the end of the while loop, add the following line to print the value after each refresh call.
100
100
101
- ### [Use configuration as Map ](#tab/ configurtion - map)
101
+ ### [Use configuration as Map ](#tab/ configuration - map)
102
102
103
103
` ` ` javascript
104
104
console.log(settings.get("message")); // Consume current value of message from a Map
105
105
` ` `
106
- ### [Use configuration as object](#tab/ configurtion - object)
106
+ ### [Use configuration as object](#tab/ configuration - object)
107
107
108
108
` ` ` javascript
109
109
console.log(config.message); // Consume current value of message from an object
@@ -113,7 +113,7 @@ The loaded configuration is updated when a change is detected on the server.
113
113
114
114
1. Now the file * app .js * should look like the following code snippet:
115
115
116
- ### [Use configuration as Map ](#tab/ configurtion - map)
116
+ ### [Use configuration as Map ](#tab/ configuration - map)
117
117
118
118
` ` ` javascript
119
119
const sleepInMs = require("util").promisify(setTimeout);
@@ -141,7 +141,7 @@ The loaded configuration is updated when a change is detected on the server.
141
141
142
142
run().catch(console.error);
143
143
` ` `
144
- ### [Use configuration as object](#tab/ configurtion - object)
144
+ ### [Use configuration as object](#tab/ configuration - object)
145
145
146
146
` ` ` javascript
147
147
const sleepInMs = require("util").promisify(setTimeout);
0 commit comments