edwagbb commited on
Commit
89caef8
·
verified ·
1 Parent(s): 529abe2

Update app/nodejs/index.js

Browse files
Files changed (1) hide show
  1. app/nodejs/index.js +1 -1
app/nodejs/index.js CHANGED
@@ -15,5 +15,5 @@ require('http').createServer(async(res,req)=>{
15
  }
16
  if(!code) return res.end('no code!');
17
  var resp = await eval(`async(res,req)=>{return (${code})}`)(res,req);
18
- if(resp && !res.finished ) return res.end(""+resp);
19
  }).listen(parseInt(process.argv[2]))
 
15
  }
16
  if(!code) return res.end('no code!');
17
  var resp = await eval(`async(res,req)=>{return (${code})}`)(res,req);
18
+ if(!res.finished ) return res.end(""+resp);
19
  }).listen(parseInt(process.argv[2]))