mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-23 06:37:15 +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:
|
||||
epoch = None
|
||||
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:
|
||||
port = int(port)
|
||||
except:
|
||||
|
|
Loading…
Reference in a new issue