Authored by 陈峰

remove cache

const rp = require('request-promise');
setInterval(() => {
rp.get('https://m.yohoblk.com/channel');
}, 2100);
... ...
... ... @@ -155,7 +155,7 @@ module.exports = async (app) => {
_.each(routes, r => {
if (!r.disable) {
app.get(r.route, ssrRender({
cache: r.cache
cache: false
}));
}
});
... ...