@noosphere/agent-core 0.1.0-alpha.5 → 0.1.0-alpha.6
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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -308,7 +308,7 @@ var ContainerManager = class {
|
|
|
308
308
|
const startTime = Date.now();
|
|
309
309
|
try {
|
|
310
310
|
const port = container.port ? parseInt(container.port) : 8081;
|
|
311
|
-
const containerHost = process.env.DOCKER_NETWORK ? `noosphere-${container.
|
|
311
|
+
const containerHost = process.env.DOCKER_NETWORK ? `noosphere-${container.name}` : "localhost";
|
|
312
312
|
const url = `http://${containerHost}:${port}/computation`;
|
|
313
313
|
let requestBody;
|
|
314
314
|
try {
|