Added possibility to configure public gateway by env variables and changed default gw to gateway.ipfs.io (#1)
Signed-off-by: Artur Marud <artur@status.im>
This commit is contained in:
parent
43db8cc7e1
commit
6be664effe
3
pack.py
3
pack.py
|
@ -1,12 +1,13 @@
|
|||
import re
|
||||
import requests
|
||||
import logging
|
||||
import os
|
||||
|
||||
from ipfs import ipfsBinToText
|
||||
|
||||
LOG = logging.getLogger('root')
|
||||
|
||||
IPFS_GATEWAY = "https://cloudflare-ipfs.com/ipfs"
|
||||
IPFS_GATEWAY = os.environ.get('IPFS_GATEWAY','https://gateway.ipfs.io/ipfs')
|
||||
|
||||
class StickerPack:
|
||||
# https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1577.md
|
||||
|
|
Loading…
Reference in New Issue