Skip to content

Commit 7576036

Browse files
update
1 parent 9a2e2b4 commit 7576036

File tree

14 files changed

+5
-1616
lines changed

14 files changed

+5
-1616
lines changed
File renamed without changes.
File renamed without changes.

examples/console-example/configObject.mjs renamed to examples/console-app/configObject.mjs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,11 @@ const settings = await load(connectionString, {
3737
}]
3838
});
3939

40-
const config = settings.constructConfigurationObject({
41-
separator: "."
42-
});
40+
/**
41+
* Construct configuration object based on Map-styled data structure and hierarchical keys.
42+
* The default separator is ".", you can specify a custom separator by constructConfigurationObject({separator: "<custom_separator>"}).
43+
*/
44+
const config = settings.constructConfigurationObject();
4345

4446
console.log("Constructed object 'config': ", config);
4547
console.log(`Message from Azure App Configuration: ${config.app.settings.message}`);
File renamed without changes.
File renamed without changes.
File renamed without changes.

examples/web-example/.env.template

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)