From a1c1daaba53972321f0231759e9b528584ccbbfc Mon Sep 17 00:00:00 2001 From: gauthiier Date: Fri, 26 Sep 2025 14:04:30 +0200 Subject: [PATCH] ask placeholder --- vhost/vhost.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vhost/vhost.py b/vhost/vhost.py index 4ab942f..4d82d18 100755 --- a/vhost/vhost.py +++ b/vhost/vhost.py @@ -140,7 +140,8 @@ def vhost_add(domain: str, sv: str, dist: str): vhost_file_fp.write(vhost) # debug: this file might not be here........... - shutil.copyfile('c.txt', os.path.join(www, 'index.html')) + if y_n_question("Create index.html placeholder?") + shutil.copyfile('c.txt', os.path.join(www, 'index.html')) # check is ssl cert exists