config-loader: pass in env as an option
This commit is contained in:
@@ -23,6 +23,7 @@ import { loadConfig } from '@backstage/config-loader';
|
||||
export async function loadBackendConfig() {
|
||||
const paths = findPaths(__dirname);
|
||||
const configs = await loadConfig({
|
||||
env: process.env.NODE_ENV,
|
||||
rootPaths: [paths.targetDir, paths.targetRoot],
|
||||
shouldReadSecrets: true,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user