Merge remote-tracking branch 'origin/master'

pull/192/head
xiaojunnuo 2021-09-01 18:56:41 +08:00
commit f1af5f288f
3 changed files with 4 additions and 21 deletions

View File

@ -5,8 +5,6 @@
<a href='https://gitee.com/docmirror/dev-sidecar'><img src='https://gitee.com/docmirror/dev-sidecar/badge/star.svg?theme=dark' alt='star'/></a> <a href='https://gitee.com/docmirror/dev-sidecar'><img src='https://gitee.com/docmirror/dev-sidecar/badge/star.svg?theme=dark' alt='star'/></a>
<a href='https://github.com/docmirror/dev-sidecar'><img alt="GitHub stars" src="https://img.shields.io/github/stars/docmirror/dev-sidecar?logo=github"></a> <a href='https://github.com/docmirror/dev-sidecar'><img alt="GitHub stars" src="https://img.shields.io/github/stars/docmirror/dev-sidecar?logo=github"></a>
## 一、 特性 ## 一、 特性
### 1、 dns优选解决***污染问题) ### 1、 dns优选解决***污染问题)
@ -45,14 +43,10 @@
* 官方与淘宝npm registry一键切换, * 官方与淘宝npm registry一键切换,
* 某些npm install的时候并且使用cnpm也无法安装时可以尝试开启npm代理再试 * 某些npm install的时候并且使用cnpm也无法安装时可以尝试开启npm代理再试
### 6、 增强功能
* 众所周知的原因,不能说太多,默认关闭,感兴趣的可以私下交流
* 反正开了这个之后上面那些dns优选什么的特性好像都不香了
***安全警告*** ***安全警告***
* 请勿使用来源不明的服务地址,有隐私和账号泄露风险 * 请勿使用来源不明的服务地址,有隐私和账号泄露风险
* 本应用及服务端承诺不收集任何信息。介意者请使用安全模式。 * 本应用及服务端承诺不收集任何信息。介意者请使用安全模式。
* 建议自建服务端(增强功能页面右上角点击查看自建服务端方法)
## 二、快速开始 ## 二、快速开始
支持windows、Mac 支持windows、Mac
@ -116,20 +110,13 @@
### 默认模式 ### 默认模式
* 此模式开启拦截、关闭增强、开启dns优选、开启测速 * 此模式开启拦截、关闭增强、开启dns优选、开启测速
* 需要安装证书 * 需要安装证书通过修改sni直连访问github
* 功能上包含特性1/2/3/4。 * 功能上包含特性1/2/3/4。
### 增强模式
* 此模式开启拦截、开启增强、开启dns优选、关闭测速
* 需要安装证书
* 功能上包含特性1/2/3/4/5
* 由于敏感原因,默认关闭,感兴趣的可以私下交流
## 四、 最佳实践 ## 四、 最佳实践
* 把dev-sidecar一直开着就行了 * 把dev-sidecar一直开着就行了
* 建议遇到打开比较慢的国外网站可以尝试将该域名添加到dns设置中注意被GFW封杀的无效 * 建议遇到打开比较慢的国外网站可以尝试将该域名添加到dns设置中注意被GFW封杀的无效
* 有时候安全模式打开github也挺快
### 其他加速 ### 其他加速
1. git clone 加速 1. git clone 加速

View File

@ -1,8 +1,6 @@
module.exports = require('./src') module.exports = require('./src')
// TODO Do you want enhancements ? resolve me first ! // TODO 这是个彩蛋 ↓ ↓ ↓ ↓ ↓ ↓
/** /**
\u0061\u0048\u0052\u0030\u0063\u0044\u006f\u0076\u004c\u0032\u0052\u006c\u0064\u0069\u0031\u007a\u0061\u0057\u0052\u006c\u0059\u0032\u0046\u0079\u004c\u006d\u0052\u0076\u0059\u0032\u0031\u0070\u0063\u006e\u004a\u0076\u0063\u0069\u0035\u006a\u0062\u0069\u0039\u0035\u0062\u0033\u0056\u006d\u0061\u0057\u0035\u006b\u0061\u0058\u0051\u0076\u0061\u0057\u0035\u006b\u005a\u0058\u0067\u0075\u0061\u0048\u0052\u0074\u0062\u0041\u003d\u003d \u0061\u0048\u0052\u0030\u0063\u0044\u006f\u0076\u004c\u0032\u0052\u006c\u0064\u0069\u0031\u007a\u0061\u0057\u0052\u006c\u0059\u0032\u0046\u0079\u004c\u006d\u0052\u0076\u0059\u0032\u0031\u0070\u0063\u006e\u004a\u0076\u0063\u0069\u0035\u006a\u0062\u0069\u0039\u0035\u0062\u0033\u0056\u006d\u0061\u0057\u0035\u006b\u0061\u0058\u0051\u0076\u0061\u0057\u0035\u006b\u005a\u0058\u0067\u0075\u0061\u0048\u0052\u0074\u0062\u0041\u003d\u003d
**/ **/
// 解不开吗帮我这个项目点个star就给你一点提示哟
// https://github.com/fast-crud/fast-crud#dev-sidecar

View File

@ -30,7 +30,7 @@
默认模式 默认模式
</a-radio-button> </a-radio-button>
</a-tooltip> </a-tooltip>
<a-tooltip placement="topLeft" title="关闭测速,启用增强,启用拦截(敏感原因,默认禁用,感兴趣的话可以私下交流"> <a-tooltip v-if="setting.overwall" placement="topLeft" title="关闭测速,启用增强,启用拦截(敏感原因,默认禁用)">
<a-radio-button value="ow"> <a-radio-button value="ow">
增强模式 增强模式
</a-radio-button> </a-radio-button>
@ -148,7 +148,6 @@ export default {
await this.reloadConfig() await this.reloadConfig()
this.$set(this, 'status', this.$status) this.$set(this, 'status', this.$status)
this.switchBtns = this.createSwitchBtns() this.switchBtns = this.createSwitchBtns()
console.log('switchBtns', this.switchBtns)
this.$set(this, 'update', this.$global.update) this.$set(this, 'update', this.$global.update)
if (!this.update.autoChecked) { if (!this.update.autoChecked) {
this.update.autoChecked = true this.update.autoChecked = true
@ -159,7 +158,6 @@ export default {
}) })
}, },
mounted () { mounted () {
console.log('index mounted')
}, },
methods: { methods: {
async modeChange (event) { async modeChange (event) {