1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-05-22 01:16:07 +02:00

docs: sort options alphabetically in example object.

This commit is contained in:
Thomas Heartman 2022-03-22 11:20:48 +01:00
parent da0fe21832
commit 47a4fe3234

View File

@ -218,6 +218,8 @@ Below is an example JavaScript configuration object.
``` js ``` js
const unleashOptions = { const unleashOptions = {
databaseUrl: "postgres:/USER:PASSWORD@HOST:PORT/DATABASE",
databaseUrlFile: "/path/to/file",
db: { db: {
user: 'unleash_user', user: 'unleash_user',
password: 'passord', password: 'passord',
@ -231,8 +233,6 @@ const unleashOptions = {
idleTimeoutMillis: 30000, idleTimeoutMillis: 30000,
}, },
}, },
databaseUrl: "postgres:/USER:PASSWORD@HOST:PORT/DATABASE",
databaseUrlFile: "/path/to/file",
}; };
``` ```