remove the unnecessary slashes
This commit is contained in:
parent
a75f2ac85c
commit
3fe33de79b
@ -28,7 +28,7 @@ IPFS hash that was manually set up to serve the hello deb.
|
|||||||
Backup your /etc/apt/sources.list, remove all the lines that it has and leave it
|
Backup your /etc/apt/sources.list, remove all the lines that it has and leave it
|
||||||
just with:
|
just with:
|
||||||
|
|
||||||
deb ipfs:///ipns/QmdyaTjqXayZVQULcEyHQFx6n76TrMBc5aEDCgvp5cUTEi xenial main
|
deb ipfs:/ipns/QmdyaTjqXayZVQULcEyHQFx6n76TrMBc5aEDCgvp5cUTEi xenial main
|
||||||
|
|
||||||
To test it, run:
|
To test it, run:
|
||||||
|
|
||||||
|
2
ipfs
2
ipfs
@ -106,7 +106,7 @@ class IPFS_method():
|
|||||||
return result
|
return result
|
||||||
|
|
||||||
def fetch(self, uri, filename):
|
def fetch(self, uri, filename):
|
||||||
ipfs_file_path = uri.replace('ipfs://', '', 1)
|
ipfs_file_path = uri.replace('ipfs:', '', 1)
|
||||||
|
|
||||||
self.send_status({'URI': uri, 'Message': 'Waiting for stats'})
|
self.send_status({'URI': uri, 'Message': 'Waiting for stats'})
|
||||||
ipfs = ipfsapi.connect('127.0.0.1', 5001)
|
ipfs = ipfsapi.connect('127.0.0.1', 5001)
|
||||||
|
Reference in New Issue
Block a user