-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
P3Low: Not priority right nowLow: Not priority right nowdif/easySomeone with a little familiarity can pick upSomeone with a little familiarity can pick upeffort/hoursEstimated to take one or several hoursEstimated to take one or several hourshelp wantedSeeking public contribution on this issueSeeking public contribution on this issuekind/enhancementA net-new feature or improvement to an existing featureA net-new feature or improvement to an existing feature
Description
We create an IPFS HTTP Client here
Line 23 in 7d79fdd
| const ipfs = IpfsHttpClient() |
It would be great if this could use the IPFS_PATH environment variable to attempt to locate the API file which will have a multiaddr in it and then pass that multiaddr into the HTTP client.
- Read environment variable
- Read API addr from file https://github.com/ipfs/go-ipfs-http-client/blob/3af36210f80fb86aae50da582b494ceddd64c3de/api.go#L70
- Convert multiaddr into IPv4/IPv6 URL and pass it into the client
It may even be worth upstreaming these few lines of code into the HTTP Client as an alternative construction option (WDYT @achingbrain)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P3Low: Not priority right nowLow: Not priority right nowdif/easySomeone with a little familiarity can pick upSomeone with a little familiarity can pick upeffort/hoursEstimated to take one or several hoursEstimated to take one or several hourshelp wantedSeeking public contribution on this issueSeeking public contribution on this issuekind/enhancementA net-new feature or improvement to an existing featureA net-new feature or improvement to an existing feature