diff --git a/package.json b/package.json index 22fd7a702..93a09fa3a 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "keycode": "^2.2.0", "lodash-id": "^0.14.0", "lowdb": "^1.0.0", - "picgo": "^1.4.10", + "picgo": "^1.4.11", "qrcode.vue": "^1.7.0", "vue": "^2.6.10", "vue-gallery": "^2.0.1", diff --git a/src/universal/datastore/index.ts b/src/universal/datastore/index.ts index 970ef87bc..4ba6cdd2c 100644 --- a/src/universal/datastore/index.ts +++ b/src/universal/datastore/index.ts @@ -29,7 +29,11 @@ class DB { if (!this.db.has('picBed').value()) { this.db.set('picBed', { - current: 'weibo' + current: 'smms', + uploader: 'smms', + smms: { + token: '' + } }).write() } diff --git a/yarn.lock b/yarn.lock index f0f7f2bd4..15f556443 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8289,10 +8289,10 @@ performance-now@^2.1.0: resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns= -picgo@^1.4.10: - version "1.4.10" - resolved "https://registry.npmjs.org/picgo/-/picgo-1.4.10.tgz#460b311663521e90c680c1ec1cf1edf1bcc7a294" - integrity sha512-mDFr1d4gh0BIhLAkCVKZFMzDLz2KwM0grbgqTCtLhZYXiOYihv8hOTArUlrffOiTD5vuB2P+a1LN6a7WNDVSeA== +picgo@^1.4.11: + version "1.4.11" + resolved "https://registry.yarnpkg.com/picgo/-/picgo-1.4.11.tgz#759dde14232cd94b62aa2d3256669014f132babe" + integrity sha512-OdhLpSycS/YjHgHSvWDh46eoW8hYPaMtwNQkW67QkNgji7VHU7rinKnaE5xmOhh6BsgFcgEt8bC+e2uKX3qXYA== dependencies: chalk "^2.4.1" commander "^2.17.0"