mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +00:00
refactor: name from SelfhostedModule
to SelfHostedModule
🔨
This commit is contained in:
parent
038c5e9a6e
commit
551121524c
@ -20,7 +20,7 @@ const CoreModule = require("./src/CoreModule.js");
|
||||
const { Kernel } = require("./src/Kernel.js");
|
||||
const DatabaseModule = require("./src/DatabaseModule.js");
|
||||
const LocalDiskStorageModule = require("./src/LocalDiskStorageModule.js");
|
||||
const SelfhostedModule = require("./src/SelfhostedModule.js");
|
||||
const SelfHostedModule = require("./src/SelfHostedModule.js");
|
||||
const PuterDriversModule = require("./src/PuterDriversModule.js");
|
||||
const { testlaunch } = require("./src/index.js");
|
||||
const BaseService = require("./src/services/BaseService.js");
|
||||
@ -45,5 +45,5 @@ module.exports = {
|
||||
DatabaseModule,
|
||||
PuterDriversModule,
|
||||
LocalDiskStorageModule,
|
||||
SelfhostedModule,
|
||||
SelfHostedModule,
|
||||
};
|
||||
|
@ -1,7 +1,7 @@
|
||||
const { AdvancedBase } = require("@heyputer/puter-js-common");
|
||||
const config = require("./config");
|
||||
|
||||
class SelfhostedModule extends AdvancedBase {
|
||||
class SelfHostedModule extends AdvancedBase {
|
||||
async install (context) {
|
||||
const services = context.get('services');
|
||||
|
||||
@ -63,4 +63,4 @@ class SelfhostedModule extends AdvancedBase {
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = SelfhostedModule;
|
||||
module.exports = SelfHostedModule;
|
||||
|
@ -59,7 +59,7 @@ const main = async () => {
|
||||
DatabaseModule,
|
||||
PuterDriversModule,
|
||||
LocalDiskStorageModule,
|
||||
SelfhostedModule
|
||||
SelfHostedModule
|
||||
} = (await import('@heyputer/backend')).default;
|
||||
|
||||
console.log('kerne', Kernel);
|
||||
@ -68,7 +68,7 @@ const main = async () => {
|
||||
k.add_module(new DatabaseModule());
|
||||
k.add_module(new PuterDriversModule());
|
||||
k.add_module(new LocalDiskStorageModule());
|
||||
k.add_module(new SelfhostedModule());
|
||||
k.add_module(new SelfHostedModule());
|
||||
k.boot();
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user