tx接口挂了,前端下掉。然后对ipfs-fix.js新增多个ipfs网关,不过他们的可用性不高
This commit is contained in:
BlueSkyXN 2024-10-01 19:13:29 +08:00
parent 763b4cea02
commit 7fb7a7a914
3 changed files with 18 additions and 3 deletions

View File

@ -24,6 +24,7 @@
"https://ipfs.raribleuserdata.com/ipfs/",
"https://ipfs.crossbell.io/ipfs/",
"https://ipfs.basedfellas.io/ipfs/",
"https://gateway.v2ex.pro/ipfs/",
"https://ipfs.io/ipfs/",
"https://ipfs.interface.social/ipfs/",
"https://ipfs.4everland.io/ipfs/",
@ -32,7 +33,21 @@
"https://ipfs.decentralized-content.com/ipfs/",
"https://4everland.io/ipfs/",
"https://c4rex.co/ipfs/",
"https://ipfs.omakasea.com/ipfs/"
"https://ipfs.omakasea.com/ipfs/",
"https://ipfs.joaoleitao.org/ipfs/",
"https://proofs.filestar.info/ipfs/",
"https://ipfs.eth.aragon.network/ipfs/",
"https://ipfs.supremelegend.io/ipfs/",
"https://pz-acyuix.meson.network/ipfs/",
"https://trustless-gateway.link/ipfs/",
"https://ipfs.cyou/ipfs/",
"https://gw.ipfs-lens.dev/ipfs/",
"https://ipfs.runfission.com/ipfs/",
"https://nftstorage.link/ipfs/",
"https://w3s.link/ipfs/",
"https://dlunar.net/ipfs/",
"https://storry.tv/ipfs/",
"https://flk-ipfs.xyz/ipfs/"
];
// 匹配 IPFS 链接的正则表达式

View File

@ -70,9 +70,8 @@
<div class="form-group">
<label for="apiSelect">Select Endpoint</label>
<select class="form-control" id="apiSelect">
<option value="tencent">Tencent-国内外分流</option>
<option value="58img">58img-定期删图</option>
<option value="ipfs">IPFS-去中心化多网关兼容</option>
<option value="58img">58img-定期删图</option>
<option value="tgphimg">TGPH-Debug通道</option>
<option value="qst8">qst8-国内CDN</option>
<option value="vviptuangou">vviptuangou-国内CDN</option>

View File

@ -22,6 +22,7 @@ try:
print("图片上传成功访问URL为", response_data['url'])
else:
print("上传失败服务器未返回URL:", response_data)
print(response)
except requests.exceptions.RequestException as e:
print(f"图片上传失败: {e}")