chore: revert "chore: consolidate mieru port configuration (#2277)"

The `port` field should not be allowed to be set to non-int values, as this would break some downstream assumptions that the option is an int.

This reverts commit 1b1f95aa9c.
This commit is contained in:
wwqgtxx
2025-09-28 20:25:40 +08:00
parent f45c6f5e91
commit f7bd8b83e5
3 changed files with 76 additions and 311 deletions

View File

@@ -1024,8 +1024,8 @@ proxies: # socks5
- name: mieru
type: mieru
server: 1.2.3.4
port: 2999 # 支持使用 ports 格式,例如 2999,3999 或 2999-3010,3950,3995-3999
# port-range: 2090-2099 # 已废弃,请使用 port
port: 2999
# port-range: 2090-2099 #(不可同时填写 port 和 port-range
transport: TCP # 只支持 TCP
udp: true # 支持 UDP over TCP
username: user