mirror of
https://github.com/HeyPuter/puter.git
synced 2026-08-07 14:51:12 +00:00
refactor(backend): de-couple driver registration from DriverService
This commit is contained in:
@@ -5,6 +5,9 @@ class SelfHostedModule extends AdvancedBase {
|
||||
async install (context) {
|
||||
const services = context.get('services');
|
||||
|
||||
const { SelfhostedService } = require('./services/SelfhostedService');
|
||||
services.registerService('__selfhosted', SelfhostedService);
|
||||
|
||||
const DefaultUserService = require('./services/DefaultUserService');
|
||||
services.registerService('__default-user', DefaultUserService);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user