converging on a better polish. moving to polys vs lines

This commit is contained in:
Stewart Allen 2020-03-04 17:40:11 -05:00
commit c51887d9ba
4 changed files with 43 additions and 30 deletions

View file

@ -493,7 +493,8 @@ self.kiri.license = exports.LICENSE;
DOC = SELF.document,
LOC = SELF.location,
SETUP = parseOpt(LOC.search.substring(1)),
LOCAL = LOC.host.indexOf('localhost') === 0,
HOST = LOC.host.split(':'),
LOCAL = HOST[0] === 'localhost' || HOST[0] === 'debug',
SECURE = isSecure(LOC.protocol),
// ---------------
SDB = MOTO.KV,