Skip to main content

RouterOptions.disableConfigInjection

Home > @backstage/plugin-app-backend > RouterOptions > disableConfigInjection

Disables the configuration injection. This can be useful if you're running in an environment with a read-only filesystem, or for some other reason don't want configuration to be injected.

Note that this will cause the configuration used when building the app bundle to be used, unless a separate configuration loading strategy is set up.

This also disables configuration injection though APP_CONFIG_ environment variables.

Signature:

disableConfigInjection?: boolean;