picgo配置github的picx图床
2023/6/13 23:22:14
本文主要是介绍picgo配置github的picx图床,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
配置github的参数
在picgo插件github设置里面设置该如下信息
仓库名配置的是:用户名/仓库名
分支为:master
Token在github生成一个
存储路径设置的上传后存放的目录
自定义域名是用来加速图片的
配置自定义图片链接规则
Staticaly | https://cdn.staticaly.com/gh/{{owner}}/{{repo}}@{{branch}}/{{path}} | |
ChinaJsDelivr | https://jsd.cdn.zzko.cn/gh/{{owner}}/{{repo}}@{{branch}}/{{path}} | |
jsDelivr | https://cdn.jsdelivr.net/gh/{{owner}}/{{repo}}@{{branch}}/{{path}} | |
GitHub | https://github.com/{{owner}}/{{repo}}/raw/{{branch}}/{{path}} |
#示例
图片CDN外链:https://cdn.jsdelivr.net/gh/GitHub用户名/GitHub仓库名@main/GitHub仓库下文
件夹名/1.jpeg
eg:https://cdn.jsdelivr.net/gh/15826844126/blog@main/img/1.jpeg
配置picx
在pic工具上面上传一个文件试试
这篇关于picgo配置github的picx图床的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-04-01got an unexpected keyword argument
- 2024-03-30维多利亚的秘密 golang入坑系统
- 2024-03-29mongodb sort by date
- 2024-03-29go swagger
- 2024-03-25mongodb cdc
- 2024-03-25how to use go in vscode
- 2024-03-22mongooseserverselectionerror: connect econnrefused ::1:27017
- 2024-03-21pymongo insert_many
- 2024-03-18projection mongodb
- 2024-03-14clickhouse-go