initial retooling #1

Merged
naturallaw777 merged 1130 commits from staging-dev into stable 2026-05-21 08:10:11 -05:00
Showing only changes of commit e42bea8edf - Show all commits
+6 -1
View File
@@ -882,7 +882,12 @@ async def api_features():
domain_name = feat.get("domain_name")
domain_configured = True
if domain_name:
domain_configured = os.path.exists(os.path.join(DOMAINS_DIR, domain_name))
domain_path = os.path.join(DOMAINS_DIR, domain_name)
try:
with open(domain_path, "r") as f:
domain_configured = bool(f.read(256).strip())
except OSError:
domain_configured = False
extra_fields = []
for ef in feat.get("extra_fields", []):