Skip to content

Commit

Permalink
更新自动内外网切换方案的逻辑说明
Browse files Browse the repository at this point in the history
  • Loading branch information
asundust authored Aug 10, 2023
1 parent ac4036b commit 2e89bf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ NAS-Nav导航仿iCloud风格 效果[访问Demo](https://asundust.github.io/nav/)

## 关于自动切换内外网的方案逻辑如下

1. 根据客户端IP和服务端的IP是否相等
2. 如上述为否,根据请求IP是否为局域网IP,该建议根据#1建议改进
1. 根据请求IP是否为局域网IP,该建议根据#1建议改进
2. 如上述为否,根据客户端IP和服务端的IP是否相等
3. 如上述为否,根据是否能访问服务端的内网IP进行判断

## 其他注意事项
Expand Down

0 comments on commit 2e89bf4

Please sign in to comment.