refactor: pass the config along

This commit is contained in:
cha0s 2022-03-10 14:26:04 -06:00
parent 15f452ca1e
commit 5e802f9a0d

View File

@ -82,7 +82,11 @@ export default {
}),
'@flecks/core.starting': (flecks) => {
debug('bootstrapping flecks...');
const httpFlecks = Flecks.bootstrap({platforms: ['client'], without: ['server']});
const httpFlecks = Flecks.bootstrap({
config: flecks.config,
platforms: ['client'],
without: ['server'],
});
debug('bootstrapped');
flecks.set('$flecks/http.flecks', httpFlecks);
},