30 lines
606 B
JavaScript
30 lines
606 B
JavaScript
|
import Engine from '@ember/engine';
|
||
|
|
||
|
import loadInitializers from 'ember-load-initializers';
|
||
|
import Resolver from 'ember-resolver';
|
||
|
|
||
|
import config from './config/environment';
|
||
|
|
||
|
const { modulePrefix } = config;
|
||
|
|
||
|
export default class PkiEngine extends Engine {
|
||
|
modulePrefix = modulePrefix;
|
||
|
Resolver = Resolver;
|
||
|
dependencies = {
|
||
|
services: [
|
||
|
'auth',
|
||
|
'flash-messages',
|
||
|
'namespace',
|
||
|
'path-help',
|
||
|
'router',
|
||
|
'store',
|
||
|
'version',
|
||
|
'wizard',
|
||
|
'secret-mount-path',
|
||
|
],
|
||
|
externalRoutes: ['secrets'],
|
||
|
};
|
||
|
}
|
||
|
|
||
|
loadInitializers(PkiEngine, modulePrefix);
|