mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-23 14:20:22 +08:00
fix: missing changes to run-selfhosted.js
This commit is contained in:
parent
706a2403e1
commit
6f4b1bf94a
@ -87,6 +87,7 @@ const main = async () => {
|
|||||||
BroadcastModule,
|
BroadcastModule,
|
||||||
TestDriversModule,
|
TestDriversModule,
|
||||||
PuterAIModule,
|
PuterAIModule,
|
||||||
|
DevelopmentModule
|
||||||
} = (await import('@heyputer/backend')).default;
|
} = (await import('@heyputer/backend')).default;
|
||||||
|
|
||||||
const k = new Kernel({
|
const k = new Kernel({
|
||||||
@ -101,6 +102,9 @@ const main = async () => {
|
|||||||
k.add_module(new BroadcastModule());
|
k.add_module(new BroadcastModule());
|
||||||
k.add_module(new TestDriversModule());
|
k.add_module(new TestDriversModule());
|
||||||
// k.add_module(new PuterAIModule());
|
// k.add_module(new PuterAIModule());
|
||||||
|
if ( process.env.UNSAFE_PUTER_DEV ) {
|
||||||
|
k.add_module(new DevelopmentModule());
|
||||||
|
}
|
||||||
k.boot();
|
k.boot();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user