Skip to main content

BaseConfigSourcesOptions.substitutionFunc

Home > @backstage/config-loader > BaseConfigSourcesOptions > substitutionFunc

A custom substitution function that overrides the default one.

Signature:

substitutionFunc?: SubstitutionFunc;

Remarks

The substitution function handles syntax like ${MY_ENV_VAR} in configuration values. The default substitution will read the value from the environment and trim whitespace.