Open zhou-jianhang opened 2 years ago
default_uploader = "github"
rename = "{year}/{month}/upgit{year}{month}{day}{unix_ts}{ext}"
[output_formats]
"bbcode" = "[img]{url}[/img]"
"html" = ''
"markdown-simple" = "
"
"raw.githubusercontent.com" = "cdn.jsdelivr.net/gh" "/master" = "@master"
[uploaders.github]
branch = "main"
pat = "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"
repo = "upgit-demo"
username = "18376002823@163.com"
[uploaders.smms]
token = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
[uploaders.imgur]
client_id = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
[uploaders.chevereto] upload_url = "https://chevereto.com/api/v1/upload" key = "c8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8"
[uploaders.qcloudcos] host = "xxx.cos.ap-chengdu.myqcloud.com" secret_id = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" secret_key= "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
[uploaders.qiniu]
token = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:xxxxxxxxxxxxxxxxxxxxxxxxxxx:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx==" prefix = "https://cdn.mydomain.com/"
[uploaders.gitee] username = "18376002823@163.com" repo = "TestImage"
access_token = "70496eed0d71d67b826d5c88f70eb297"
[uploaders.cloudinary] cloud_name = "my_cloud" upload_preset = "preset_name"
[uploaders.easyimage] request_url = "https://img.545141.com/api/index.php" token = "1c17b11693cb5ec63859b0ccccccccccc"
用的是这个配置,直接传github就会404
环境是window
用户名不要写成邮箱。 不要把密码粘出来,赶紧重置 token。
好的,谢谢
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>