back to infura
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
parent
0a7dc8fdd2
commit
ff41394d9e
|
@ -58,7 +58,7 @@
|
||||||
(defn url [hex]
|
(defn url [hex]
|
||||||
(let [{:keys [namespace hash]} (decode (ethereum/normalized-hex hex))]
|
(let [{:keys [namespace hash]} (decode (ethereum/normalized-hex hex))]
|
||||||
(case namespace
|
(case namespace
|
||||||
:ipfs (str "https://cloudflare-ipfs.com/ipfs/" hash)
|
:ipfs (str "https://ipfs.infura.io/ipfs/" hash)
|
||||||
"")))
|
"")))
|
||||||
|
|
||||||
(fx/defn cat
|
(fx/defn cat
|
||||||
|
|
Loading…
Reference in New Issue