allow secure exception when proxy present
This commit is contained in:
parent
9bd0a4974d
commit
f78a00b5ae
1 changed files with 1 additions and 1 deletions
|
|
@ -254,7 +254,7 @@ function exportGCodeDialog(gcode, sections, info, names) {
|
||||||
api.show.alert("host missing protocol (http:// or https://)");
|
api.show.alert("host missing protocol (http:// or https://)");
|
||||||
return;
|
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");
|
api.show.alert("host must begin with 'https' on a secure site");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue