Without pushing

This commit is contained in:
Kasper Rynning-Tønnesen
2018-08-21 15:49:51 +02:00
parent d4950aea21
commit a7e6a5afcc

View File

@@ -151,12 +151,12 @@ function routingFunction(req, res, next) {
admin(req, res, next); admin(req, res, next);
} else { } else {
console.log("this other place"); console.log("this other place");
res.push('/assets/dist/main.min.js', headers, function(err, stream){ /*res.push('/assets/dist/main.min.js', headers, function(err, stream){
console.log("this place"); console.log("this place");
if (err) return; if (err) return;
stream.end(main_client); stream.end(main_client);
}); });*/
client(req, res, next); client(req, res, next);
} }
} catch(e) { } catch(e) {