limbo-ai 1.23.3 → 1.23.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +3 -3
- package/package.json +1 -1
- package/setup-server/server.js +2 -2
package/cli.js
CHANGED
|
@@ -154,7 +154,7 @@ function composeContent() {
|
|
|
154
154
|
- /tmp:size=100M,noexec,nosuid,nodev
|
|
155
155
|
- /home/limbo/.npm:size=50M,noexec,nosuid,nodev
|
|
156
156
|
ports:
|
|
157
|
-
- "
|
|
157
|
+
- "127.0.0.1:${PORT}:${PORT}"
|
|
158
158
|
volumes:
|
|
159
159
|
- limbo-data:/data
|
|
160
160
|
- ${VAULT_DIR}:/data/vault
|
|
@@ -216,7 +216,7 @@ function composeContentHardened() {
|
|
|
216
216
|
- /tmp:size=100M,noexec,nosuid,nodev
|
|
217
217
|
- /home/limbo/.npm:size=50M,noexec,nosuid,nodev
|
|
218
218
|
ports:
|
|
219
|
-
- "
|
|
219
|
+
- "127.0.0.1:${PORT}:${PORT}"
|
|
220
220
|
volumes:
|
|
221
221
|
- limbo-data:/data
|
|
222
222
|
- ${VAULT_DIR}:/data/vault
|
|
@@ -1504,7 +1504,7 @@ function printWizardUrl(url, tunnel) {
|
|
|
1504
1504
|
// Extract token from the original URL
|
|
1505
1505
|
const tokenMatch = url.match(/[?&]token=([^&\s]+)/);
|
|
1506
1506
|
const token = tokenMatch ? tokenMatch[1] : '';
|
|
1507
|
-
const localUrl = url
|
|
1507
|
+
const localUrl = url;
|
|
1508
1508
|
const isSSH = !!(process.env.SSH_CONNECTION || process.env.SSH_CLIENT);
|
|
1509
1509
|
|
|
1510
1510
|
console.log(`
|
package/package.json
CHANGED
package/setup-server/server.js
CHANGED
|
@@ -886,9 +886,9 @@ module.exports = {
|
|
|
886
886
|
if (require.main === module) {
|
|
887
887
|
const server = http.createServer(handleRequest);
|
|
888
888
|
|
|
889
|
-
server.listen(PORT, '
|
|
889
|
+
server.listen(PORT, '127.0.0.1', () => {
|
|
890
890
|
log(`Limbo Setup Wizard listening on port ${PORT}`);
|
|
891
|
-
log(`SETUP_URL=http://
|
|
891
|
+
log(`SETUP_URL=http://127.0.0.1:${PORT}/?token=${SETUP_TOKEN}`);
|
|
892
892
|
log('Share the URL above with the user to complete setup.');
|
|
893
893
|
});
|
|
894
894
|
|