typora使用picgo配置sftp上传图片

在这里插入图片描述

在这里插入图片描述

{
    
    
  "mdftp": {
    
    
	// 上传到uploadPath这个目录下
    "host": "0.0.0.0",
	"port": "22",
    "username": "root",
    "password": ".",
	"uploadPath": "/uploads/{year}/{month}/{fullName}",
	// 返回的图片链接为 url+path
    "url": "0.0.00.",
    "path": "/uploads/{year}/{month}/{fullName}",
  }
}

猜你喜欢

转载自blog.csdn.net/weixin_44797182/article/details/129066885