feat: enable HSTS subdomains by default

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
fuomag9
2026-03-18 23:15:28 +01:00
parent 75be9e1c4b
commit d86d1400d7

View File

@@ -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"
}
];