do not probe grid:host when host is invalid

This commit is contained in:
Stewart Allen 2019-04-02 20:01:05 -07:00
commit bde492c648

View file

@ -1116,6 +1116,8 @@ self.kiri.license = exports.LICENSE;
if (!host && KIRI.api.ghostDetect(gridhost_probe)) return;
if (!host) return;
xhtr.onreadystatechange = function() {
if (xhtr.readyState === 4) {
if (xhtr.status >= 200 && xhtr.status < 300) {