File tree Expand file tree Collapse file tree 4 files changed +28
-4
lines changed
Expand file tree Collapse file tree 4 files changed +28
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ const $ = new Env('BoxJs')
33// 为 eval 准备的上下文环境
44const $eval_env = { }
55
6- $ . version = '0.12.11 '
6+ $ . version = '0.12.12 '
77$ . versionType = 'beta'
88
99// 发出的请求需要需要 Surge、QuanX 的 rewrite
@@ -243,7 +243,7 @@ async function handleQuery() {
243243async function handleApi ( ) {
244244 const [ , api ] = $ . path . split ( '/api' )
245245
246- if ( api === '/save' || api . startsWith ( '/save' ) ) {
246+ if ( api === '/save' || api . startsWith ( '/save? ' ) ) {
247247 await apiSave ( )
248248 } else if ( api === '/addAppSub' ) {
249249 await apiAddAppSub ( )
Original file line number Diff line number Diff line change 11{
22 "releases" : [
3+ {
4+ "version" : " 0.12.12" ,
5+ "tags" : [" beta" ],
6+ "author" : " @chavyleung" ,
7+ "msg" : " 修复无法备份问题" ,
8+ "notes" : [
9+ {
10+ "name" : " 修复" ,
11+ "descs" : [" 无法备份问题" ]
12+ }
13+ ]
14+ },
315 {
416 "version" : " 0.12.11" ,
517 "tags" : [" beta" ],
Original file line number Diff line number Diff line change 11{
22 "releases" : [
3+ {
4+ "version" : " 0.12.12" ,
5+ "tags" : [" beta" ],
6+ "author" : " @chavyleung" ,
7+ "msg" : " 修复无法备份问题" ,
8+ "notes" : [
9+ {
10+ "name" : " 修复" ,
11+ "descs" : [" 无法备份问题" ]
12+ }
13+ ]
14+ },
315 {
416 "version" : " 0.12.11" ,
517 "tags" : [" beta" ],
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ const $ = new Env('BoxJs')
33// 为 eval 准备的上下文环境
44const $eval_env = { }
55
6- $ . version = '0.12.11 '
6+ $ . version = '0.12.12 '
77$ . versionType = 'beta'
88
99// 发出的请求需要需要 Surge、QuanX 的 rewrite
@@ -243,7 +243,7 @@ async function handleQuery() {
243243async function handleApi ( ) {
244244 const [ , api ] = $ . path . split ( '/api' )
245245
246- if ( api === '/save' || api . startsWith ( '/save' ) ) {
246+ if ( api === '/save' || api . startsWith ( '/save? ' ) ) {
247247 await apiSave ( )
248248 } else if ( api === '/addAppSub' ) {
249249 await apiAddAppSub ( )
You can’t perform that action at this time.
0 commit comments