File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ let LOC = self.location,
4545 EVENT = broker ,
4646 SETUP = utils . parseOpt ( LOC . search . substring ( 1 ) ) ,
4747 FILES = openFiles ( new Index ( SETUP . d ? SETUP . d [ 0 ] : 'kiri' ) ) ,
48- LOCAL = self . debug && ! SETUP . remote ,
48+ LOCAL = ( LOC . host . startsWith ( 'localhost' ) || self . debug ) && ! SETUP . remote ,
4949 SECURE = isSecure ( LOC . protocol ) ;
5050
5151// todo: fix in widget.js b/c front-end and back-end do not share api
Original file line number Diff line number Diff line change @@ -559,6 +559,7 @@ function settingsImport(data, ask) {
559559 }
560560
561561 if ( api . const . LOCAL ) console . log ( 'import' , data ) ;
562+
562563 let isSettings = ( data . settings && data . time ) ;
563564 let isProcess = ( data . process && data . time && data . mode && data . name ) ;
564565 let isDevice = ( data . device && data . time ) ;
You can’t perform that action at this time.
0 commit comments