Skip to content

3.2.0

Choose a tag to compare

@matthewp matthewp released this 04 Jan 19:24
· 11 commits to master since this release

This is a minor release, making it possible to provide an alternative middleware for SSR handling:

const server = serve(5050, {
	path: __dirname,
	proxy: 'http://localhost:6060',
	ssr: function(steal, options) {
		Do whatever you want here!
		return function(req, res) {

		};
	}
});