From 8ace4e3e0aac09ffab84d114fc45797c27fbd785 Mon Sep 17 00:00:00 2001 From: silencebbb Date: Wed, 10 Jul 2019 15:45:26 +0800 Subject: [PATCH 1/3] Update conf.js --- conf.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf.js b/conf.js index 48b5aa0a4ed..a80782dfb8a 100644 --- a/conf.js +++ b/conf.js @@ -20,7 +20,7 @@ jsproxy_config({ } }, 'demo-sg': { - label: '演示服务-新加坡节点', + label: '演示服务-111111', lines: { 'node-aliyun-sg.etherdream.com:8443': 1, }, @@ -88,4 +88,4 @@ jsproxy_config({ content: 'Hello World' }, } -}) \ No newline at end of file +}) From b344ec7b6874324ce083fae46e5134bfb85b0b9a Mon Sep 17 00:00:00 2001 From: silencebbb Date: Thu, 9 Apr 2020 16:30:52 +0800 Subject: [PATCH 2/3] Update conf.js --- conf.js | 37 ++++++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/conf.js b/conf.js index a80782dfb8a..b35605579a1 100644 --- a/conf.js +++ b/conf.js @@ -1,11 +1,13 @@ jsproxy_config({ - // 当前配置的版本(记录在日志中,用于排查问题) - ver: '78', + // 当前配置的版本(记录在日志中,用于排查问题)11111111 + // 每次修改配置,该值需要增加,否则不会生效。 + // 默认每隔 5 分钟自动下载配置,若想立即验证,可通过隐私模式访问。 + ver: '110', // 通过 CDN 加速常用网站的静态资源(实验中) static_boost: { enable: true, - ver: 20 + ver: 62 }, // 节点配置 @@ -14,13 +16,12 @@ jsproxy_config({ label: '演示服务-香港节点', lines: { // 主机:权重 - 'node-aliyun-hk-0.etherdream.com:8443': 1, 'node-aliyun-hk-1.etherdream.com:8443': 1, - 'node-aliyun-hk-2.etherdream.com:8443': 1, + 'node-aliyun-hk-2.etherdream.com:8443': 2, } }, 'demo-sg': { - label: '演示服务-111111', + label: '演示服务-新加坡节点', lines: { 'node-aliyun-sg.etherdream.com:8443': 1, }, @@ -37,14 +38,14 @@ jsproxy_config({ hidden: true, lines: { // 收费版(高权重) - 'node-cfworker.etherdream.com': 6, + //'node-cfworker-2.etherdream.com': 4, // 免费版(低权重,分摊一些成本) // 每个账号每天 10 万次免费请求,但有频率限制 - 'a.007.workers.dev': 1, - 'a.hehe.workers.dev': 1, - 'a.lulu.workers.dev': 1, - 'shrill-unit-8594.jsproxy.workers.dev': 1, + //'b.007.workers.dev': 1, + //'b.hehe.workers.dev': 1, + //'b.lulu.workers.dev': 1, + //'b.jsproxy.workers.dev': 1, } } }, @@ -52,8 +53,8 @@ jsproxy_config({ /** * 默认节点 */ - // node_default: 'mysite', - node_default: /jsproxy\.\w+$/.test(location.host) ? 'demo-hk' : 'mysite', + node_default: 'mysite', + // node_default: /jsproxy-demo\.\w+$/.test(location.host) ? 'demo-hk' : 'mysite', /** * 加速节点 @@ -64,10 +65,16 @@ jsproxy_config({ * 静态资源 CDN 地址 * 用于加速 `assets` 目录中的资源访问 */ - assets_cdn: 'https://cdn.jsdelivr.net/gh/zjcqoo/zjcqoo.github.io@master/assets/', + // assets_cdn: 'https://cdn.jsdelivr.net/gh/zjcqoo/zjcqoo.github.io@master/assets/', // 本地测试时打开,否则访问的是线上的 - // assets_cdn: 'assets/', + assets_cdn: 'assets/', + + // 首页路径 + index_path: 'index_v3.html', + + // 支持 CORS 的站点列表(实验中...) + direct_host_list: 'cors_v1.txt', /** * 自定义注入页面的 HTML From c235bb90977260903c7cbfe66da2872dbe515c1d Mon Sep 17 00:00:00 2001 From: silencebbb Date: Thu, 9 Apr 2020 16:31:56 +0800 Subject: [PATCH 3/3] Update 404.html --- 404.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/404.html b/404.html index 4531b8530b1..71cf6660146 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ - \ No newline at end of file +