added / to ipfs hash path
This commit is contained in:
parent
c1f5070de5
commit
58b70533a8
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ def redirectDomain(domain, action=None):
|
||||||
body = json.loads(dnslookup.content)
|
body = json.loads(dnslookup.content)
|
||||||
print(body)
|
print(body)
|
||||||
response.status = 302
|
response.status = 302
|
||||||
if not body['ipfs']['html'].startswith('ip'):
|
if not body['ipfs']['html'].startswith('/ip'):
|
||||||
ipfshash = "ipfs/" + body['ipfs']['html']
|
ipfshash = "ipfs/" + body['ipfs']['html']
|
||||||
else:
|
else:
|
||||||
ipfshash = body['ipfs']['html']
|
ipfshash = body['ipfs']['html']
|
||||||
|
|
Loading…
Reference in a new issue