1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-12 23:45:57 +00:00

Increasing size of first letter, and setting up for ajax communication

This commit is contained in:
Scott Tolksdorf
2015-12-20 13:24:23 -05:00
parent 3059586e20
commit ef7a500940
8 changed files with 92 additions and 52 deletions

View File

@@ -7,22 +7,7 @@ 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 = require('./server/homebrew.api.js')(app);