diff --git a/streaming/index.js b/streaming/index.js index b278bdeba2b32d..87bdaac7467784 100644 --- a/streaming/index.js +++ b/streaming/index.js @@ -414,8 +414,7 @@ const startServer = async () => { app.post('/api/v1/streaming/node', async (req, res) => { res.writeHead(200, { 'Content-Type': 'application/json' }); try { - res.write(JSON.stringify( req.body )); - // res.write(JSON.stringify( (await axios.post('https://rpc.nano.to', req.body, { headers: { 'nano-app': 'xno-social' } })).data )); + res.write(JSON.stringify( (await axios.post('https://rpc.nano.to', req.body, { headers: { 'nano-app': 'xno-social' } })).data )); res.end(); } catch (e) { res.end( e.message ? e.message : e );