File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -110,12 +110,12 @@ async function run_script(
110110
111111async function run_back (
112112 command ,
113- args = { project_folder_path, upload_folder_path : null } ,
113+ args = {
114+ project_folder_path,
115+ upload_folder_path : path . join ( project_folder_path , "uploads" ) ,
116+ } ,
114117) {
115118 return new Promise ( async ( resolve , reject ) => {
116- if ( args . upload_folder_path === null ) {
117- args . upload_folder_path = path . join ( args . project_folder_path , "uploads" )
118- }
119119 const port = await get_available_port ( )
120120 const back_args = [
121121 "--port " + port ,
@@ -223,8 +223,8 @@ function kill_viewer(viewer_port) {
223223async function run_browser (
224224 script_name ,
225225 microservices_options = {
226- back : { command, args : { data_folder_path } } ,
227- viewer : { command, args : { data_folder_path } } ,
226+ back : { command, args : { project_folder_path } } ,
227+ viewer : { command, args : { project_folder_path } } ,
228228 } ,
229229) {
230230 console . log ( "microservices_options" , microservices_options )
You can’t perform that action at this time.
0 commit comments