mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-10 22:19:00 +08:00
Fixed whitespace issue for QX
This commit is contained in:
parent
535a20bd90
commit
3d208c9e9f
@ -1212,7 +1212,9 @@ function getQXParams(line) {
|
|||||||
const params = {};
|
const params = {};
|
||||||
const protocols = ["shadowsocks", "vmess", "http", "trojan"];
|
const protocols = ["shadowsocks", "vmess", "http", "trojan"];
|
||||||
groups.forEach((g) => {
|
groups.forEach((g) => {
|
||||||
const [key, value] = g.split("=");
|
let [key, value] = g.split("=");
|
||||||
|
key = key.trim();
|
||||||
|
value = value.trim();
|
||||||
if (protocols.indexOf(key) !== -1) {
|
if (protocols.indexOf(key) !== -1) {
|
||||||
params.type = key;
|
params.type = key;
|
||||||
const conf = value.split(":");
|
const conf = value.split(":");
|
||||||
|
2
backend/sub-store.min.js
vendored
2
backend/sub-store.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user