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 + diff --git a/conf.js b/conf.js index 48b5aa0a4ed..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,9 +16,8 @@ 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': { @@ -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 @@ -88,4 +95,4 @@ jsproxy_config({ content: 'Hello World' }, } -}) \ No newline at end of file +})