Closed duliyouxijuzi closed 2 years ago
picgo配置是从本地picgo拷贝过去的 { "picBed": { "current": "tcyun", "uploader": "tcyun", "smms": { "token": "" }, "tcyun": { "version": "v5", "secretId": "", "secretKey": "", "bucket": "", "appId": "", "area": "ap-chengdu", "path": "picgo/", "customUrl": "https://pic.xiaojuziya.com", "options": "" }, "list": [ { "type": "tcyun", "name": "腾讯云COS", "visible": true } ] }, "settings": { "shortKey": { "picgo:upload": { "enable": true, "key": "CommandOrControl+Shift+P", "name": "upload", "label": "QUICK_UPLOAD" } }, "showUpdateTip": true, "server": { "port": 36677, "host": "127.0.0.1", "enable": true }, "pasteStyle": "HTML", "privacyEnsure": true, "autoStart": true, "useBuiltinClipboard": true, "rename": true, "autoRename": true }, "needReload": false, "picgoPlugins": {}, "debug": true, "PICGO_ENV": "GUI" }
你检查一下部署 vanblog 时的 "ALLOW_DOMAINS" 变量,多半是因为这个没加上你的图床域名。
你把 pic.xiaojuziya.com
加上去试试,注意用英文逗号分隔。 如果是一键脚本部署,执行修改配置。如果是 docker-compose
部署,那就改一下编排里的环境变量再重启即可。
在交流群里反馈来看,应该已经解决了,此 issue 就先关了
问题描述 | Describe the bug
图床设置为腾讯COS,结果导入的图片无法显示 https://pic.xiaojuziya.com/picgo/logo.png 例如这张 网址图片链接不对
复现网址 | Website URL
https://www.xiaojuziya.com/
版本 | Version
v0.41.5
部署方式? | How do you deploy vanblog?
Docker 部署(文档默认)