Пример #1
0
app.get('/testdrive', function (req, res) {
  res.render('testdrive.html', {
    title: 'Test Drive',
    cache: false,
    dynoSrc: dynoSrc.getClientLib()
  });
});
Пример #2
0
 }, function(err, patches) {
   // Notice that we're setting cache:false here, hack to work around server
   // issues. But this seems to have no effect locally, have to use the
   // setDefaults call above.
   res.render('home.html', {
     title: 'Home',
     patches: patches,
     dynoSrc: dynoSrc.getClientLib(),
     cache: false
   });
 });