This commit is contained in:
pika 2025-03-10 14:17:19 +01:00
parent 81bfa283cc
commit aaeb307345

View file

@ -136,10 +136,10 @@ def add_caddy_entry(caddyfile_path):
if not more_entries: if not more_entries:
break break
# Ask if existing entries should be updated # # Ask if existing entries should be updated
update_existing = get_user_input("Do you want to update existing entries? (y/n)", "y").lower() == "y" # update_existing = get_user_input("Do you want to update existing entries? (y/n)", "y").lower() == "y"
if update_existing: # if update_existing:
update_existing_entries(caddyfile_path) # update_existing_entries(caddyfile_path)
# Restart Caddy container # Restart Caddy container
restart_caddy = get_user_input("Do you want to restart the Caddy container? (y/n)", "y").lower() == "y" restart_caddy = get_user_input("Do you want to restart the Caddy container? (y/n)", "y").lower() == "y"