junobuild / juno-js

JavaScript libraries for interfacing with Juno
MIT License
13 stars 1 forks source link

Extend satelliteUrl with "satellite" param #106

Closed peterpeterparker closed 4 months ago

peterpeterparker commented 5 months ago

https://github.com/junobuild/juno-js/blob/577f96b3d4a5904313caec9643373138f8e9634c/packages/core/src/utils/env.utils.ts#L5

I've found also a little bug. Running this in node then upload result does not know the canister Id as part of the domain -> unkown. Did I made an error regarding the agent setup?

{ downloadUrl: 'https://unknown.icp0.io/c/c8f3c9f6-3432-4cd3-bc6d-f7705dc1a771/index.html', fullPath: '/c/c8f3c9f6-3432-4cd3-bc6d-f7705dc1a771/index.html', name: 'index.html' }