mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
fix: expose auth-type in ui-config
This commit is contained in:
parent
781a300bf7
commit
9f3ca73075
@ -6,8 +6,12 @@ class ConfigController extends Controller {
|
||||
constructor(config, { versionService }) {
|
||||
super(config);
|
||||
this.versionService = versionService;
|
||||
const authenticationType = config.authentication.type;
|
||||
this.uiConfig = {
|
||||
...config.ui,
|
||||
authenticationType,
|
||||
unleashUrl: config.unleashUrl,
|
||||
baseUriPath: config.baseUriPath,
|
||||
version: config.version,
|
||||
};
|
||||
this.get('/', this.getUIConfig);
|
||||
|
Loading…
Reference in New Issue
Block a user