From 4cc25bea963c09a1eb0f951bed1eabc75d196446 Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 31 May 2023 23:55:57 +0800 Subject: Add v2ray. --- tool/modules/setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tool/modules/setup.py') diff --git a/tool/modules/setup.py b/tool/modules/setup.py index 0e802c4..4e91302 100644 --- a/tool/modules/setup.py +++ b/tool/modules/setup.py @@ -143,7 +143,7 @@ def template_generate(console): "Great! Check the config file and see you next time!", style="green") to_gen = False - domain = config["CRUPEST_DOMAIN"] + domain = get_domain() if to_gen: console.print( @@ -186,7 +186,7 @@ def template_generate(console): to_gen_nginx_conf = Confirm.ask("[yellow]It seems you have already generated nginx config. Do you want to overwrite it?[/]", default=False, console=console) if to_gen_nginx_conf: - nginx(domain, console) + nginx(domain, config, console) data_dir_check(domain, console) -- cgit v1.2.3