dot: 修改代理配置
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
HTTP_PROXY="http://192.168.1.13:20172"
|
||||
SOCKS_PROXY="socks5://192.168.1.13:20170"
|
||||
PROXY_IP="192.168.0.104"
|
||||
HTTP_PROXY="http://${PROXY_IP}:20172"
|
||||
SOCKS_PROXY="socks5://${PROXY_IP}:20170"
|
||||
|
||||
set-shell-proxy() {
|
||||
export http_proxy="$HTTP_PROXY"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
/* -*- mode: js; -*- */
|
||||
const PROXY = 'SOCKS5 192.168.1.13:20170; HTTP 192.168.1.13:20172; DIRECT';
|
||||
const proxy_ip = "192.168.0.104"
|
||||
const PROXY = `SOCKS5 ${proxy_ip}:20170; HTTP ${proxy_ip}:20172; DIRECT`;
|
||||
const DIRECT = 'DIRECT';
|
||||
|
||||
const direct_ip_list = [
|
||||
Reference in New Issue
Block a user