mirror of https://github.com/miraclx/freyr-js
compacteq: continuation of 88b4530
This commit is contained in:
parent
2c1866de30
commit
55e6c71944
|
|
@ -44,7 +44,7 @@ class FreyrCore {
|
|||
}
|
||||
|
||||
constructor(ServiceConfig, AuthServer, serverOpts) {
|
||||
ServiceConfig = ServiceConfig || {};
|
||||
ServiceConfig ||= {};
|
||||
this.ENGINES = FreyrCore.ENGINES.map(Engine => new Engine(ServiceConfig[Engine[symbols.meta].ID], AuthServer, serverOpts));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue