Skip to content

Commit 83c4f9e

Browse files
authored
Add files via upload
1 parent a3330d4 commit 83c4f9e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

xrkeyparser.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,8 @@ func createRealityParams(parMap map[string]string) (realset XrRealitySettings) {
238238
if ok {
239239
realset.ShortId = sid
240240
}
241-
spx,ok := parMap["spx"]
241+
spx, ok := parMap["spx"]
242242
if ok {
243-
if spx == "%2F" {
244-
spx = "/"
245-
}
246243
realset.SpiderX = spx
247244
}
248245
return realset
@@ -258,6 +255,7 @@ func createWsParams(parMap map[string]string) (wsset XrWsSettings) {
258255
if path == "%2F" {
259256
path = "/"
260257
}
258+
// if v2fly config
261259
wsset.Path = path
262260
}
263261
return wsset

0 commit comments

Comments
 (0)