🐛 启动报错

This commit is contained in:
刘嘉伟 2024-09-25 10:48:09 +08:00
parent 59ef02033a
commit acbf075280

View File

@ -36,7 +36,7 @@ const getFrpcVersionWorkerPath = (
const isRangePort = (m: Proxy) => { const isRangePort = (m: Proxy) => {
return ( return (
(m.type === "tcp" || m.type === "udp") && (m.type === "tcp" || m.type === "udp") &&
(m.localPort.indexOf("-") !== -1 || m.localPort.indexOf(",") !== -1) (String(m.localPort).indexOf("-") !== -1 || String(m.localPort).indexOf(",") !== -1)
); );
}; };