mirror of
https://github.com/HeyPuter/puter.git
synced 2026-10-07 20:31:50 +00:00
Fix phoenix for auto ports
This commit is contained in:
1 parent
f3495f3098
commit
1c2b05d8f6
2 files changed
+20
-5
No files matched your search
@@ -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',
|
||||
}
|
||||
},
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user