File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ async function run_back(
118118  return  new  Promise ( async  ( resolve ,  reject )  =>  { 
119119    let  upload_folder_path  =  args . upload_folder_path 
120120    if  ( ! args . upload_folder_path )  { 
121-       upload_folder_path  =  args . project_folder_path 
121+       upload_folder_path  =  path . join ( args . project_folder_path ,   "uploads" ) 
122122    } 
123123    const  port  =  await  get_available_port ( ) 
124124    const  back_args  =  [ 
@@ -185,6 +185,7 @@ function kill_back(back_port) {
185185
186186function  kill_viewer ( viewer_port )  { 
187187  return  new  Promise ( ( resolve )  =>  { 
188+     const  child  =  viewerChildren . get ( viewer_port ) 
188189    const  socket  =  new  WebSocket ( "ws://localhost:"  +  viewer_port  +  "/ws" ) 
189190    socket . on ( "open" ,  ( )  =>  { 
190191      console . log ( "Connected to WebSocket server" ) 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments