modularize print export
This commit is contained in:
parent
36682581f0
commit
c74dd09643
8 changed files with 505 additions and 445 deletions
|
|
@ -1497,13 +1497,13 @@ var gs_kiri_init = exports;
|
|||
|
||||
// import octoprint settings from url
|
||||
if (SETUP.ophost) {
|
||||
OCTOPRINT = {
|
||||
let ohost = API.const.OCTO = {
|
||||
host: SETUP.ophost[0],
|
||||
apik: SETUP.opkey ? SETUP.opkey[0] : ''
|
||||
};
|
||||
SDB['octo-host'] = OCTOPRINT.host;
|
||||
SDB['octo-apik'] = OCTOPRINT.apik;
|
||||
console.log({octoprint:OCTOPRINT});
|
||||
SDB['octo-host'] = ohost.host;
|
||||
SDB['octo-apik'] = ohost.apik;
|
||||
console.log({octoprint:ohost});
|
||||
}
|
||||
|
||||
// mode passed on url
|
||||
|
|
|
|||
Loading…
Reference in a new issue