We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce03bc7 commit 9b77d42Copy full SHA for 9b77d42
2 files changed
app/config/setting.js
@@ -9,7 +9,8 @@ module.exports = {
9
accessExp: 60 * 60, // 1h 单位秒
10
// debug 模式
11
debug: true,
12
- // refreshExp 设置refresh_token的过期时间
+ // refreshExp 设置refresh_token的过期时间,默认一个月
13
+ refreshExp: 60 * 60 * 24 * 30,
14
// 暂不启用插件
15
pluginPath: {
16
// plugin name
app/extensions/file/local-uploader.js
@@ -44,7 +44,7 @@ class LocalUploader extends Uploader {
44
// type: 1,
45
name: realName,
46
extension: ext,
47
- size: stream.readableLength,
+ size: stream._readableState.length,
48
md5: md5
49
},
50
true
0 commit comments