PicGo / PicGo-Core

:zap:A tool for pictures uploading. Both CLI & API supports.
https://picgo.github.io/PicGo-Core-Doc/
MIT License
832 stars 84 forks source link

返回的链接有问题 #165

Closed yunqilee69 closed 8 months ago

yunqilee69 commented 10 months ago

我在typora使用picgo-core向又拍云进行上传时,出现了下面问题。上传的文件后缀是png,但是返回得到的文件后缀为pngundefined,我不知道如何解决,希望有人能帮助我。下面是我的config.json:

{
  "picBed": {
    "current": "upyun",
    "upyun":{
      "bucket": "XXXX",
      "operator": "XXXX",
      "password": "XXX",
      "path":"blog/",
      "url": "http://XXXX.com"
    }

  },
  "picgoPlugins": {}
}

image

image

yunqilee69 commented 10 months ago

没注意到关闭的issue中已经有了答案,抱歉哈。因为我的config.json中没有设置options这个参数,加上之后就可以正常显示了。 image