mirror of
https://github.com/BlueSkyXN/WorkerJS_CloudFlare_ImageBed.git
synced 2024-11-16 11:42:33 +08:00
0.9.16
tx接口挂了,前端下掉。然后对ipfs-fix.js新增多个ipfs网关,不过他们的可用性不高
This commit is contained in:
parent
763b4cea02
commit
7fb7a7a914
|
@ -24,6 +24,7 @@
|
||||||
"https://ipfs.raribleuserdata.com/ipfs/",
|
"https://ipfs.raribleuserdata.com/ipfs/",
|
||||||
"https://ipfs.crossbell.io/ipfs/",
|
"https://ipfs.crossbell.io/ipfs/",
|
||||||
"https://ipfs.basedfellas.io/ipfs/",
|
"https://ipfs.basedfellas.io/ipfs/",
|
||||||
|
"https://gateway.v2ex.pro/ipfs/",
|
||||||
"https://ipfs.io/ipfs/",
|
"https://ipfs.io/ipfs/",
|
||||||
"https://ipfs.interface.social/ipfs/",
|
"https://ipfs.interface.social/ipfs/",
|
||||||
"https://ipfs.4everland.io/ipfs/",
|
"https://ipfs.4everland.io/ipfs/",
|
||||||
|
@ -32,7 +33,21 @@
|
||||||
"https://ipfs.decentralized-content.com/ipfs/",
|
"https://ipfs.decentralized-content.com/ipfs/",
|
||||||
"https://4everland.io/ipfs/",
|
"https://4everland.io/ipfs/",
|
||||||
"https://c4rex.co/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 链接的正则表达式
|
// 匹配 IPFS 链接的正则表达式
|
||||||
|
|
|
@ -70,9 +70,8 @@
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="apiSelect">Select Endpoint</label>
|
<label for="apiSelect">Select Endpoint</label>
|
||||||
<select class="form-control" id="apiSelect">
|
<select class="form-control" id="apiSelect">
|
||||||
<option value="tencent">Tencent-国内外分流</option>
|
|
||||||
<option value="58img">58img-定期删图</option>
|
|
||||||
<option value="ipfs">IPFS-去中心化多网关兼容</option>
|
<option value="ipfs">IPFS-去中心化多网关兼容</option>
|
||||||
|
<option value="58img">58img-定期删图</option>
|
||||||
<option value="tgphimg">TGPH-Debug通道</option>
|
<option value="tgphimg">TGPH-Debug通道</option>
|
||||||
<option value="qst8">qst8-国内CDN</option>
|
<option value="qst8">qst8-国内CDN</option>
|
||||||
<option value="vviptuangou">vviptuangou-国内CDN</option>
|
<option value="vviptuangou">vviptuangou-国内CDN</option>
|
||||||
|
|
|
@ -22,6 +22,7 @@ try:
|
||||||
print("图片上传成功,访问URL为:", response_data['url'])
|
print("图片上传成功,访问URL为:", response_data['url'])
|
||||||
else:
|
else:
|
||||||
print("上传失败,服务器未返回URL:", response_data)
|
print("上传失败,服务器未返回URL:", response_data)
|
||||||
|
print(response)
|
||||||
|
|
||||||
except requests.exceptions.RequestException as e:
|
except requests.exceptions.RequestException as e:
|
||||||
print(f"图片上传失败: {e}")
|
print(f"图片上传失败: {e}")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user