Skip to content

Commit a9da64b

Browse files
committed
更新[BoxJs]: 修复后台日志报 illegal 问题
1 parent cfcd8c4 commit a9da64b

2 files changed

Lines changed: 15 additions & 2 deletions

File tree

‎box/release/box.release.json‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
{
22
"releases": [
3+
{
4+
"version": "0.4.22",
5+
"tags": ["beta"],
6+
"author": "@chavyleung",
7+
"icon": "https://avatars3.githubusercontent.com/u/29748519",
8+
"repo": "https://github.com/chavyleung",
9+
"notes": [
10+
{
11+
"name": "修复",
12+
"descs": ["后台日志报 illegal 问题"]
13+
}
14+
]
15+
},
316
{
417
"version": "0.4.21",
518
"tags": ["beta"],

‎chavy.box.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const $ = new Env('BoxJs')
22
$.domain = '8.8.8.8'
33

4-
$.version = '0.4.21'
4+
$.version = '0.4.22'
55
$.versionType = 'beta'
66
$.KEY_sessions = 'chavy_boxjs_sessions'
77
$.KEY_versions = 'chavy_boxjs_versions'
@@ -42,7 +42,7 @@ $.html = $.name
4242
})
4343
.finally(() => {
4444
if ($.isapi) {
45-
$done({ body: null })
45+
$done({ body: $.JSON })
4646
} else {
4747
$.done({ status: 200, body: $.html })
4848
}

0 commit comments

Comments
 (0)