mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-27 00:07:16 +00:00
fix: [UI show domain] fix domain/port unpacking
This commit is contained in:
parent
ddaad5db93
commit
7a5fac9a43
1 changed files with 5 additions and 0 deletions
|
@ -537,6 +537,11 @@ def show_domain():
|
||||||
except:
|
except:
|
||||||
epoch = None
|
epoch = None
|
||||||
port = request.args.get('port')
|
port = request.args.get('port')
|
||||||
|
faup.decode(domain)
|
||||||
|
unpack_url = faup.get()
|
||||||
|
domain = unpack_url['domain'].decode()
|
||||||
|
if not port:
|
||||||
|
port = unpack_url['port'].decode()
|
||||||
try:
|
try:
|
||||||
port = int(port)
|
port = int(port)
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in a new issue