Added: imgur support

This commit is contained in:
Molunerfinn
2018-06-27 22:57:15 +08:00
parent 6aed2d2a97
commit 61a2a047c7
5 changed files with 200 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ import upYunUpload from '../main/utils/upYunUpload'
import githubUpload from '../main/utils/githubUpload'
import smmsUpload from '../main/utils/smmsUpload'
import aliYunUpload from '../main/utils/aliYunUpload'
import imgurUpload from '../main/utils/imgurUpload'
const picBedHandler = {
weibo: weiboUpload,
@@ -13,7 +14,8 @@ const picBedHandler = {
upyun: upYunUpload,
github: githubUpload,
smms: smmsUpload,
aliyun: aliYunUpload
aliyun: aliYunUpload,
imgur: imgurUpload
}
export default picBedHandler

View File

@@ -35,6 +35,11 @@ let picBed = [
type: 'aliyun',
name: '阿里云OSS',
visible: true
},
{
type: 'imgur',
name: 'Imgur图床',
visible: true
}
]