Obsidian Chevereto Image Uploader
能够将剪贴板的图片在粘贴到Obsidian时上传至chevereto,并支持上传时调整图像大小。
- Api Endpoint: Chevereto API链接, 示例:https://your_domain/api/1/upload
- Chevereto API Token: Chevereto API令牌, 获取方法:https://your_domian/dashboard/settings/api
- Enable Resize: 是否开启上传前大小调整
- Max Width: 调整最大宽度,示例:4096
按Ctrl+Shift+i打开Obsidian开发者控制台时,上传时提示CORS跨域,解决方法,在nginx反代时开启CORS支持
...(省略)
location / {
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS';
add_header Access-Control-Allow-Headers 'DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization';
...(省略)