Commit 8eba153d authored by Vitaly Lipatov's avatar Vitaly Lipatov

eget: add pinata.cloud ipfs gateway, disable local Brave ipfs instance

parent ef2c047e
...@@ -582,7 +582,7 @@ ipfs_api_local="/ip4/127.0.0.1/tcp/5001" ...@@ -582,7 +582,7 @@ ipfs_api_local="/ip4/127.0.0.1/tcp/5001"
ipfs_api_brave="/ip4/127.0.0.1/tcp/45005" ipfs_api_brave="/ip4/127.0.0.1/tcp/45005"
# Public IPFS http gateways # Public IPFS http gateways
ipfs_gateways="https://cloudflare-ipfs.com/ipfs https://dweb.link/ipfs https://dhash.ru/ipfs" ipfs_gateways="https://cloudflare-ipfs.com/ipfs https://gateway.pinata.cloud/ipfs https://dweb.link/ipfs https://dhash.ru/ipfs"
# Test data: https://etersoft.ru/templates/etersoft/images/logo.png # Test data: https://etersoft.ru/templates/etersoft/images/logo.png
ipfs_checkQm="QmYwf2GAMvHxfFiUFL2Mr6KUG6QrDiupqGc8ms785ktaYw" ipfs_checkQm="QmYwf2GAMvHxfFiUFL2Mr6KUG6QrDiupqGc8ms785ktaYw"
...@@ -657,9 +657,10 @@ select_ipfs_mode() ...@@ -657,9 +657,10 @@ select_ipfs_mode()
fi fi
fi fi
# disabled, browser not for mass downloading
IPFS_CMD="$(get_ipfs_brave)" IPFS_CMD="$(get_ipfs_brave)"
# if no EGET_IPFS_API, check brave # if no EGET_IPFS_API, check brave
if [ -z "$EGET_IPFS_API" ] && [ -n "$IPFS_CMD" ] ; then if false && [ -z "$EGET_IPFS_API" ] && [ -n "$IPFS_CMD" ] ; then
IPFS_API="$ipfs_api_brave" IPFS_API="$ipfs_api_brave"
if ipfs_api_access ; then if ipfs_api_access ; then
ipfs_mode="brave" && return ipfs_mode="brave" && return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment