diff --git a/index.js b/index.js index cad96de..8c8d518 100644 --- a/index.js +++ b/index.js @@ -3,7 +3,7 @@ /** * static files (404.html, sw.js, conf.js) */ -const ASSET_URL = 'https://hunshcn.github.io/gh-proxy/' +const ASSET_URL = 'https://raw.githubusercontent.com/hunshcn/gh-proxy/master/pages/index.html' // 前缀,如果自定义路由为example.com/gh/*,将PREFIX改为 '/gh/',注意,少一个杠都会错! const PREFIX = '/' // git使用cnpmjs镜像、分支文件使用jsDelivr镜像的开关,0为关闭,默认开启