Skip to content

Commit a75ca2f

Browse files
committed
fix(env): 撤回 Surge 强制使用 https 执行脚本逻辑
1 parent 577caee commit a75ca2f

File tree

6 files changed

+64
-26
lines changed

6 files changed

+64
-26
lines changed

Env.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ function Env(name, opts) {
153153
runOpts && runOpts.timeout ? runOpts.timeout : httpapi_timeout
154154
const [key, addr] = httpapi.split('@')
155155
const opts = {
156-
url: `https://${addr}/v1/scripting/evaluate`,
156+
url: `http://${addr}/v1/scripting/evaluate`,
157157
body: {
158158
script_text: script,
159159
mock_type: 'cron',

Env.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

box/chavy.boxjs.js

+16-12
Large diffs are not rendered by default.

box/release/box.release.json

+15
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
{
22
"releases": [
3+
{
4+
"version": "0.19.17",
5+
"tags": ["beta"],
6+
"author": "@chavyleung",
7+
"msg": "fix(env): 撤回 Surge 强制使用 https 执行脚本逻辑",
8+
"notes": [
9+
{
10+
"name": "撤回",
11+
"descs": [
12+
"撤回 Surge 强制使用 https 执行脚本逻辑",
13+
"后续增加配置方式来支持 https"
14+
]
15+
}
16+
]
17+
},
318
{
419
"version": "0.19.16",
520
"tags": ["beta"],

box/release/box.release.tf.json

+15
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
{
22
"releases": [
3+
{
4+
"version": "0.19.17",
5+
"tags": ["beta"],
6+
"author": "@chavyleung",
7+
"msg": "fix(env): 撤回 Surge 强制使用 https 执行脚本逻辑",
8+
"notes": [
9+
{
10+
"name": "撤回",
11+
"descs": [
12+
"撤回 Surge 强制使用 https 执行脚本逻辑",
13+
"后续增加配置方式来支持 https"
14+
]
15+
}
16+
]
17+
},
318
{
419
"version": "0.19.16",
520
"tags": ["beta"],

chavy.box.js

+16-12
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)