From b4b77039950be596c1038bff412cca3036e63636 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20Conradi=20=C3=98sthus?= Date: Thu, 26 Aug 2021 14:29:41 +0200 Subject: [PATCH] Update configuring-unleash.md --- websitev2/docs/deploy/configuring-unleash.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websitev2/docs/deploy/configuring-unleash.md b/websitev2/docs/deploy/configuring-unleash.md index 95f83a431b..99b7e423af 100644 --- a/websitev2/docs/deploy/configuring-unleash.md +++ b/websitev2/docs/deploy/configuring-unleash.md @@ -101,7 +101,7 @@ unleash.start(unleashOptions); - `demo` - Only requires an email to sign-in (was default in v3) - customAuthHandler: (function) - custom express middleware handling authentication. Used when type is set to `custom` - createAdminUser: (boolean) - whether to create an admin user with default password - Defaults to `true` -- **ui** (object) - Set of UI specific overrides. You may set the following keys: `headerBackground`, `environment`, `slogan`. +- **ui** (object) - Set of UI specific overrides. You may set the following keys: `environment`, `slogan`. - **getLogger** (function) - Used to register a [custom log provider](#how-do-i-configure-the-log-output). - **logLevel** (`debug` | `info` | `warn` | `error` | `fatal`) - The lowest level to log at, also configurable using environment variable `LOG_LEVEL`. - **eventHook** (`function(event, data)`) - If provided, this function will be invoked whenever a feature is mutated. The possible values for `event` are `'feature-created'`, `'feature-updated'`, `'feature-archived'`, `'feature-revived'`. The `data` argument contains information about the mutation. Its fields are `type` (string) - the event type (same as `event`); `createdBy` (string) - the user who performed the mutation; `data` - the contents of the change. The contents in `data` differs based on the event type; For `'feature-archived'` and `'feature-revived'`, the only field will be `name` - the name of the feature. For `'feature-created'` and `'feature-updated'` the data follows a schema defined in the code [here](https://github.com/Unleash/unleash/blob/master/src/lib/services/feature-schema.js#L65). See an [api here](/api/admin/events).