BackendConfig #

Available since 2.8.0

The BackendConfig class handles an application configuration.

It is accessible from the Backend.config property.

See the Configuration guide.

content #

TypeDescriptionget / set
IKuzzleConfiguration
Current Kuzzle configurationget / set

Example: modify a configuration value

import { Backend } from 'kuzzle';

const app = new Backend('my-app');

app.config.content.server.port = 4242;

app.start();