1. app.get("/hello", function (req, res) {
  2. var waitTill = new Date(new Date().getTime() + 15 * 1000);
  3. while (waitTill > new Date()) { }
  4. res.send("ok");
  5. });
  6. app.get("/", function (req, res) {
  7. res.send("ok");
  8. });
Comments powered by Disqus