e5cbe80644
The proxy now forwards any api.weixin.qq.com/cgi-bin/* path (drafts, material upload, etc.), binds to the 10.10.0.1 tunnel address, and uses a 120s timeout. wechat-egress-fetch.mjs rewrites WeChat API URLs to the egress base when MEMIND_WECHAT_EGRESS_BASE_URL is set. Co-authored-by: Cursor <cursoragent@cursor.com>
16 lines
328 B
Desktop File
16 lines
328 B
Desktop File
[Unit]
|
|
Description=TKMind WeChat MP egress proxy
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Environment=WECHAT_EGRESS_HOST=10.10.0.1
|
|
Environment=WECHAT_EGRESS_PORT=19090
|
|
ExecStart=/usr/bin/python3 /root/wechat_egress_proxy.py
|
|
Restart=always
|
|
RestartSec=3
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|