@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.js
CHANGED
|
@@ -269,7 +269,7 @@ var ContainerManager = class {
|
|
|
269
269
|
const startTime = Date.now();
|
|
270
270
|
try {
|
|
271
271
|
const port = container.port ? parseInt(container.port) : 8081;
|
|
272
|
-
const containerHost = process.env.DOCKER_NETWORK ? `noosphere-${container.
|
|
272
|
+
const containerHost = process.env.DOCKER_NETWORK ? `noosphere-${container.name}` : "localhost";
|
|
273
273
|
const url = `http://${containerHost}:${port}/computation`;
|
|
274
274
|
let requestBody;
|
|
275
275
|
try {
|