ask placeholder

This commit is contained in:
gauthiier 2025-09-26 14:04:30 +02:00
parent 14f44db431
commit a1c1daaba5

View File

@ -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