Molunerfinn / PicGo

:rocket:A simple & beautiful tool for pictures uploading built by vue-cli-electron-builder
https://molunerfinn.com/PicGo/
MIT License
24.24k stars 2.24k forks source link

[Feature]: github上的图片链接无法上传到其他图床 #1144

Closed Sbwillbealier closed 1 year ago

Sbwillbealier commented 1 year ago

前置阅读 | Pre-reading

PicGo的版本 | PicGo Version

v2.3.1

系统信息 | System Information

Windows

功能请求 | Feature request

当我想将之前上传到github上的图片链接(使用了jsDelivr的CDN,去掉CDN也一样的),粘贴到picgo上面通过url上传到其他图床时会出现以下问题,请问有解决办法吗? ------Error Stack Begin------ Error: request https://cdn.jsdelivr.net/gh/Sbwillbealier/cdn_img@blog-1.0/img/202306251106395.png timeout at D:\App\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:38189 at async Promise.all (index 0) at async Object.handle (D:\App\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:37138) at async $e.doTransform (D:\App\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:16679) at async $e.start (D:\App\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:15916) at async Tt.upload (D:\App\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:71270) at async Object.upload (D:\App\PicGo\resources\app.asar\background.js:2:653584) at async jn (D:\App\PicGo\resources\app.asar\background.js:2:656251) -------Error Stack End-------

image

Molunerfinn commented 1 year ago

这个是 jsdelivr CDN 发现是国内 IP 就会回源 github 本身原始链接导致的。这个跟 picgo 无关,跟你的网络有关系。

花钱用付费的对象存储服务,比如腾讯云阿里云之类的,不要用 github 当图床就能解决这个问题。