Skip to content

Commit

Permalink
feat(hook): add new hook for 163jiasu CDN host
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleRey authored Aug 17, 2023
1 parent d57f6d7 commit f71cdd1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,14 @@ checknetisolation loopbackexempt -a -n="1F8B0F94.122165AE053F_j2p0p5q0044a6"
### 方法 1. 修改 hosts
向 hosts 文件添加两条规则
向 hosts 文件添加几条规则
```hosts
<Server IP> music.163.com
<Server IP> interface.music.163.com
<Server IP> interface3.music.163.com
<Server IP> interface.music.163.com.163jiasu.com
<Server IP> interface3.music.163.com.163jiasu.com
```
> 使用此方法必须监听 80 端口 `-p 80`
Expand Down
2 changes: 2 additions & 0 deletions src/hook.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ hook.target.host = new Set([
'interface3.music.163.com',
'apm.music.163.com',
'apm3.music.163.com',
'interface.music.163.com.163jiasu.com',
'interface3.music.163.com.163jiasu.com',
// 'mam.netease.com',
// 'api.iplay.163.com', // look living
// 'ac.dun.163yun.com',
Expand Down

0 comments on commit f71cdd1

Please sign in to comment.