Skip to content

Commit 976a647

Browse files
wip
1 parent 41ec58a commit 976a647

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

articles/azure-app-configuration/reference-javascript-provider.md

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,17 @@ const settings = await load(endpoint, credential, {
143143

144144
### Trim prefix from keys
145145

146+
You can trim the prefix off of keys by providing a list of trimmed key prefixes to the `AzureAppConfigurationOptions.trimKeyPrefixes` property.
147+
148+
``` typescript
149+
const settings = await load(endpoint, credential, {
150+
selectors: [{
151+
keyFilter: "app.*"
152+
}],
153+
trimKeyPrefixes: ["app."]
154+
});
155+
```
156+
146157
## Use Key Vault reference
147158

148159
## Dynamic refresh
@@ -171,11 +182,13 @@ const settings = await load(endpoint, credential, {
171182

172183
### Feature management
173184

174-
Feature management library provides a way to develop and expose application functionality based on feature flags. The feature management libary is designed to work in conjunction with configuration provider library. It consumes the feature flags loaded from Azure App Configuration store and manage the feature flags for your application. For more information about how to use JavaScript feature management library, please go to the [quickstart](./quickstart-feature-flag-javascript.md).
185+
Feature management library provides a way to develop and expose application functionality based on feature flags. The feature management libary is designed to work in conjunction with configuration provider library. The configuration provider will load all selected feature flags into the configuration under the `feature_flags` list of `feature_management` section. The feature management library will consume and manage the loaded feature flags for your application.
186+
187+
For more information about how to use JavaScript feature management library, please go to the [quickstart](./quickstart-feature-flag-javascript.md).
175188

176-
## Enable failover with geo replicas
189+
## Geo replication
177190

178-
### Enable load balancing
191+
For more information, please go to [Enable geo-replication](./howto-geo-replication.md).
179192

180193
## Next steps
181194

0 commit comments

Comments
 (0)