Quantcast
Channel: Nodejs requests are hanging - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by bevacqua for Nodejs requests are hanging

You need to use the next callback to indicate your middleware doesn't have anything else to do. app.get('/*', function (req, res, next) { if( !(req.cookies.isLoggedIn !== void 0 &&...

View Article



Answer by Mahmal Sami for Nodejs requests are hanging

You need to put an output.for example res.send(200, "You arelogged");otherwise, your browser will still be waiting for an output.what do you mean by "continue?"

View Article

Nodejs requests are hanging

I'm trying to redirect a user based on their url path and also if they do not have a particular cookie set.How do I get nodejs to "do nothing" and continue? The request just hangs if it's executing the...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>