Srar / node-tap

基于TypeScript实现的开源SSTap
Apache License 2.0
681 stars 150 forks source link

关于test.ts中路由配置的问题 #47

Closed MingqianYang closed 6 years ago

MingqianYang commented 6 years ago

在test.ts中的注释中写道: 1.设置路由表, 2.添加自定义路由表,

我不明白,为啥已经设置路由表了,为何还要添加自定义路由表,

这个自定义路由表有何作用?

Srar commented 6 years ago

特定IP代理

Yang Mingqian notifications@github.com于2018年7月27日 周五13:20写道:

在test.ts中的注释中写道: 1.设置路由表, 2.添加自定义路由表,

我不明白,为啥已经设置路由表了,为何还要添加自定义路由表,

这个自定义路由表有何作用?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Srar/node-tap/issues/47, or mute the thread https://github.com/notifications/unsubscribe-auth/ALgk4obXLT7mE7REfrlhPNNCNFAYjADJks5uKqMngaJpZM4Vi7Va .

MingqianYang commented 6 years ago

哦,假如我没有指定 特定IP代理,这块代码就不起作用了吧

Srar commented 6 years ago

https://github.com/Srar/node-tap/blob/master/test/test.ts#L36

会添加0.0.0.0/0全局路由