mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2026-04-02 05:43:18 +08:00
Fixed whitespace issue for QX
This commit is contained in:
@@ -1212,7 +1212,9 @@ function getQXParams(line) {
|
||||
const params = {};
|
||||
const protocols = ["shadowsocks", "vmess", "http", "trojan"];
|
||||
groups.forEach((g) => {
|
||||
const [key, value] = g.split("=");
|
||||
let [key, value] = g.split("=");
|
||||
key = key.trim();
|
||||
value = value.trim();
|
||||
if (protocols.indexOf(key) !== -1) {
|
||||
params.type = key;
|
||||
const conf = value.split(":");
|
||||
|
||||
Reference in New Issue
Block a user