Read env on kibana load

Hi.
In continuation to post, i have another question. There are a bunch of redirects that we hit on kibana load using hack.js file. In order to read env at this level the method using injectUiAppVars doesn't work since plugin hasn't been accessed yet. This makes either angular service or chrome.getInjected return null.
Is there a way to pass these vars, either through kibana.yml or process.env['OLDPWD'] to hack.js file.

Cheers!

In my opinion, there's no reason you can't use process.env.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.