allow secure exception when proxy present

This commit is contained in:
Stewart Allen 2026-03-01 22:34:49 -05:00
commit f78a00b5ae

View file

@ -254,7 +254,7 @@ function exportGCodeDialog(gcode, sections, info, names) {
api.show.alert("host missing protocol (http:// or https://)");
return;
}
if (api.const.SECURE && !api.util.isSecure(host)) {
if (api.const.SECURE && !api.util.isSecure(host) && !api.feature.proxy) {
api.show.alert("host must begin with 'https' on a secure site");
return;
}