dot: 修改代理配置

This commit is contained in:
2026-06-13 23:27:05 +08:00
parent 74f505770d
commit 1dc54fd5d3
2 changed files with 5 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
HTTP_PROXY="http://192.168.1.13:20172" PROXY_IP="192.168.0.104"
SOCKS_PROXY="socks5://192.168.1.13:20170" HTTP_PROXY="http://${PROXY_IP}:20172"
SOCKS_PROXY="socks5://${PROXY_IP}:20170"
set-shell-proxy() { set-shell-proxy() {
export http_proxy="$HTTP_PROXY" export http_proxy="$HTTP_PROXY"

View File

@@ -1,5 +1,6 @@
/* -*- mode: js; -*- */ /* -*- 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 = 'DIRECT';
const direct_ip_list = [ const direct_ip_list = [