We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a8bcbc commit 33fe68aCopy full SHA for 33fe68a
src/main/java/io/ipfs/api/IPFS.java
@@ -724,7 +724,7 @@ private List<Object> getAndParseStream(String path) throws IOException {
724
}
725
726
private InputStream retrieveStream(String path) throws IOException {
727
- URL target = new URL("http", host, port, version + path);
+ URL target = new URL(protocol, host, port, version + path);
728
return IPFS.getStream(target);
729
730
0 commit comments