Fix phoenix for auto ports

This commit is contained in:
KernelDeimos committed 2024-04-15 15:34:58 -04:00
1 parent f3495f3098
commit 1c2b05d8f6
2 files changed
+20 -5

No files matched your search

+2 -2
View File
@@ -28,7 +28,7 @@ class SelfhostedModule extends AdvancedBase {
command: 'npx',
args: ['rollup', '-c', 'rollup.config.js', '--watch'],
env: {
PUTER_JS_URL: config.origin + '/sdk/puter.dev.js',
PUTER_JS_URL: ({ global_config: config }) => config.origin + '/sdk/puter.dev.js',
}
},
{
@@ -37,7 +37,7 @@ class SelfhostedModule extends AdvancedBase {
command: 'npx',
args: ['rollup', '-c', 'rollup.config.js', '--watch'],
env: {
PUTER_JS_URL: config.origin + '/sdk/puter.dev.js',
PUTER_JS_URL: ({ global_config: config }) => config.origin + '/sdk/puter.dev.js',
}
},
],