mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-21 15:10:22 +00:00
apphub bug
This commit is contained in:
parent
d0af64ca4f
commit
96a1914be5
3 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@ user_pwd = j4FYLqfisbv4vkYY
|
|||
key = 689899a928b91838e98abd6ac50fc6f6f1fab73e44932a6fd5167e4ce63e72e0
|
||||
|
||||
[domain]
|
||||
wildcard_domain =
|
||||
wildcard_domain = test.websoft9.cn
|
||||
|
||||
[cockpit]
|
||||
port = 9000
|
||||
|
|
|
@ -7,7 +7,7 @@ class EnvHelper:
|
|||
def __init__(self, dotenv_path='.env'):
|
||||
self.dotenv_path = dotenv_path
|
||||
if not os.path.exists(dotenv_path):
|
||||
logger.access(f"{dotenv_path} does not exist.")
|
||||
logger.error(f"{dotenv_path} does not exist.")
|
||||
raise CustomException()
|
||||
|
||||
def get_all_values(self):
|
||||
|
|
|
@ -474,7 +474,7 @@ class AppManger:
|
|||
# Install app - Step 4 : create proxy in nginx proxy manager
|
||||
try:
|
||||
# check the app is web app
|
||||
if is_web_app:
|
||||
if is_web_app is not None :
|
||||
if proxy_enabled and domain_names:
|
||||
# Get the forward port form env file
|
||||
http_port = EnvHelper(env_file_path).get_value("W9_HTTP_PORT")
|
||||
|
|
Loading…
Reference in a new issue