diff --git a/README.md b/README.md index e845c2c..7dcafab 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ const render = function ({ // express middleware function (req, res) { res.setHeader('content-type', 'text/html; charset=utf-8') - res.flushheaders() + res.flushHeaders() render({ // pass a promise that resolves to the user