Open muf opened 6 years ago
03 router.post('/apsp1_test', function (req, res, next) { 104 console.log('post /apsp1_test'); 105 var option = { 106 mode: 'text', 107 pythonPath: '', 108 pythonOptions: ['-u'], 109 scriptPath: './private/python/', 110 args: [req.body['path'], req.body['option']], 111 code: 'apsp_cluster_module.py' 112 }; 113 get_JSON_from_python(req,res,option); 114 });
03 router.post('/apsp1_test', function (req, res, next) { 104 console.log('post /apsp1_test'); 105 var option = { 106 mode: 'text', 107 pythonPath: '', 108 pythonOptions: ['-u'], 109 scriptPath: './private/python/', 110 args: [req.body['path'], req.body['option']], 111 code: 'apsp_cluster_module.py' 112 }; 113 get_JSON_from_python(req,res,option); 114 });