File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -112,15 +112,19 @@ async function run_back(
112112 command ,
113113 args = {
114114 project_folder_path,
115- upload_folder_path : path . join ( args . project_folder_path , "uploads" ) ,
115+ upload_folder_path : undefined ,
116116 } ,
117117) {
118118 return new Promise ( async ( resolve , reject ) => {
119+ let upload_folder_path = args . upload_folder_path
120+ if ( ! args . upload_folder_path ) {
121+ upload_folder_path = args . project_folder_path
122+ }
119123 const port = await get_available_port ( )
120124 const back_args = [
121125 "--port " + port ,
122126 "--data_folder_path " + args . project_folder_path ,
123- "--upload_folder_path " + args . upload_folder_path ,
127+ "--upload_folder_path " + upload_folder_path ,
124128 "--allowed_origin http://localhost:*" ,
125129 "--timeout " + 0 ,
126130 ]
You can’t perform that action at this time.
0 commit comments