From d86d1400d7d9f3e26fc6a4d3b189633e1df8ccd9 Mon Sep 17 00:00:00 2001 From: fuomag9 <1580624+fuomag9@users.noreply.github.com> Date: Wed, 18 Mar 2026 23:15:28 +0100 Subject: [PATCH] feat: enable HSTS subdomains by default Co-Authored-By: Claude Sonnet 4.6 --- src/components/proxy-hosts/SettingsToggles.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/proxy-hosts/SettingsToggles.tsx b/src/components/proxy-hosts/SettingsToggles.tsx index eb687dcd..d5f0d826 100644 --- a/src/components/proxy-hosts/SettingsToggles.tsx +++ b/src/components/proxy-hosts/SettingsToggles.tsx @@ -18,7 +18,7 @@ type SettingsTogglesProps = { }; export function SettingsToggles({ - hstsSubdomains = false, + hstsSubdomains = true, skipHttpsValidation = false, enabled = true }: SettingsTogglesProps) { @@ -42,14 +42,14 @@ export function SettingsToggles({ label: "HSTS Subdomains", description: "Include subdomains in the Strict-Transport-Security header", defaultChecked: values.hsts_subdomains, - color: "default" + color: "primary" }, { name: "skip_https_hostname_validation", label: "Skip HTTPS Validation", description: "Skip SSL certificate hostname verification for backend connections", defaultChecked: values.skip_https_hostname_validation, - color: "warning" + color: "primary" } ];