mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2026-05-05 08:28:04 +08:00
修复Trojan一处解析错误
This commit is contained in:
@@ -1192,7 +1192,7 @@ var ProxyUtils = (function () {
|
||||
const parse = (line) => {
|
||||
const supported = {};
|
||||
line = line.split("trojan://")[1];
|
||||
const [server, port] = line.split("@")[1].split("?")[0].split(".");
|
||||
const [server, port] = line.split("@")[1].split("?")[0].split(":");
|
||||
const name = decodeURIComponent(line.split("#")[1].trim());
|
||||
|
||||
return {
|
||||
|
||||
4
backend/sub-store.min.js
vendored
4
backend/sub-store.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user