mirror of
https://github.com/HeyPuter/puter.git
synced 2026-09-22 21:26:04 +00:00
tweak: enable convert module on selfhosted run
This commit is contained in:
@@ -217,6 +217,7 @@ class DriverService extends BaseService {
|
||||
['puter-chat-completion']: 'openai-completion',
|
||||
['puter-image-generation']: 'openai-image-generation',
|
||||
'puter-exec': 'judge0',
|
||||
'convert-files': 'convert-api',
|
||||
'puter-send-mail': 'user-send-mail',
|
||||
'puter-apps': 'es:app',
|
||||
'puter-subdomains': 'es:subdomain',
|
||||
|
||||
@@ -90,6 +90,7 @@ const main = async () => {
|
||||
PuterExecModule,
|
||||
InternetModule,
|
||||
MailModule,
|
||||
ConvertModule,
|
||||
DevelopmentModule,
|
||||
} = (await import('@heyputer/backend')).default;
|
||||
|
||||
@@ -108,6 +109,7 @@ const main = async () => {
|
||||
k.add_module(new PuterExecModule());
|
||||
k.add_module(new InternetModule());
|
||||
k.add_module(new MailModule());
|
||||
k.add_module(new ConvertModule());
|
||||
if ( process.env.UNSAFE_PUTER_DEV ) {
|
||||
k.add_module(new DevelopmentModule());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user