v4.5.0
New features
Support custom configuration to the Express server (#273 by @cef62):
module.exports = {
// ...
configureServer(app) {
// `app` is the instance of the express server running react-styleguidist
app.get('/custom-endpoint', (req, res) => {
res.status(200).send({ response: 'Server invoked' });
});
},
};