Skip to content

Commit 9b32c0a

Browse files
committed
release: version 1.6.3 🚀
1 parent 2049b87 commit 9b32c0a

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

hiddify_reality_scanner/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.6.1
1+
1.6.3

hiddify_reality_scanner/cli.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import random
2+
import sys
23

34
import traceback
45
import urllib
@@ -129,6 +130,12 @@ def parse_reality(url):
129130
}
130131
if res["type"] == "http":
131132
res["type"] = "h2"
133+
134+
if not res['public_key'] or not res["short_id"]:
135+
print('=============================================================================')
136+
print('Incorrect vless link! make sure that your config is between double quotation(")')
137+
print('=============================================================================')
138+
sys.exit(1)
132139
return res
133140

134141

0 commit comments

Comments
 (0)