This commit is contained in:
parent
5d85b16d77
commit
4772b02825
@ -50,7 +50,7 @@ def addDomain(name, domain, serviceHost):
|
|||||||
print(f"Name \"{Fore.RED}{name}{Fore.RESET}\" already exists")
|
print(f"Name \"{Fore.RED}{name}{Fore.RESET}\" already exists")
|
||||||
exit()
|
exit()
|
||||||
|
|
||||||
print(f"Adding domain \"{Fore.LIGHTBLUE_EX}{name}{Fore.RESET}\" -> \"{Fore.YELLOW}{serviceHost}{Fore.RESET}\"")
|
print(f"Adding domain \"{Fore.BLUE}{name}{Fore.RESET}\" -> \"{Fore.YELLOW}{serviceHost}{Fore.RESET}\"")
|
||||||
print(f"Domain: {Fore.GREEN}http://{domain}{Fore.RESET}")
|
print(f"Domain: {Fore.GREEN}http://{domain}{Fore.RESET}")
|
||||||
|
|
||||||
# Add router
|
# Add router
|
||||||
@ -123,7 +123,7 @@ def listDomains():
|
|||||||
|
|
||||||
# Print domains
|
# Print domains
|
||||||
for name, domain in domains.items():
|
for name, domain in domains.items():
|
||||||
print(f" - {Fore.BLUE}[{name}] {Fore.GREEN}http://{domain['domain']} {Fore.RESET}-> {Fore.YELLOW}{domain['serviceHost']}{Fore.RESET}")
|
print(f" - {Fore.CYAN}[{name}] {Fore.GREEN}http://{domain['domain']} {Fore.RESET}-> {Fore.YELLOW}{domain['serviceHost']}{Fore.RESET}")
|
||||||
|
|
||||||
print("")
|
print("")
|
||||||
print("Total: %s" % len(domains))
|
print("Total: %s" % len(domains))
|
||||||
|
Loading…
Reference in New Issue
Block a user