fix: default ignore-cert to true for rdp connections

This commit is contained in:
ZacharyZcR
2026-05-13 15:44:06 +08:00
parent ec87f8a4d1
commit 066a503a7a
+2 -1
View File
@@ -205,7 +205,8 @@ router.post(
port: port || 3389,
domain,
security: (host.security as string) || undefined,
"ignore-cert": (host.ignoreCert as boolean) || false,
"ignore-cert":
host.ignoreCert !== undefined ? !!host.ignoreCert : true,
...guacConfig,
});
break;