Core
Framework v2.x
2

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 #

TypeDescription
KuzzleConfiguration
Current Kuzzle configuration

Example: modify a configuration value

import { Backend } from 'kuzzle';

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

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

app.start();