luci-app-ssr-plus: fix bug that user can't import trojan url (#3767)
This commit is contained in:
parent
9644372e88
commit
d34d69ef86
@ -221,7 +221,7 @@
|
||||
var others = serverPart[1].split('?');
|
||||
var port = others[0]
|
||||
var queryParam = {}
|
||||
if(others.length > 0) {
|
||||
if(others.length > 1) {
|
||||
var queryParams = others[1]
|
||||
var queryArray = queryParams.split('&')
|
||||
for (i = 0; i < queryArray.length; i++) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user