1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-12 23:45:57 +00:00
This commit is contained in:
Scott
2015-12-19 23:16:35 -05:00
parent 144476d363
commit 1b1860bb0a
25 changed files with 52 additions and 11 deletions

View File

@@ -8,6 +8,24 @@ app.use(express.static(__dirname + '/build'));
app.get('/homebrew*', function (req, res) {
vitreumRender({
page: './build/homebrew/bundle.dot',
globals:{},
prerenderWith : './client/homebrew/homebrew.jsx',
initialProps: {
url: req.originalUrl,
text : "cool"
},
clearRequireCache : true,
}, function (err, page) {
return res.send(page)
});
});
app.get('*', function (req, res) {
vitreumRender({
page: './build/naturalCrit/bundle.dot',