Browse Source

Fix example code

master
Luke Childs 6 years ago
parent
commit
238f198efb
  1. 2
      README.md

2
README.md

@ -39,7 +39,7 @@ createTestServer().then(server => {
});
// You can return a body directly too
server.get('/bar', () => 'foo');
server.get('/foo', () => 'bar');
server.get('/foo', 'bar');
// server.url + '/foo' and server.sslUrl + '/foo' will respond with 'bar'

Loading…
Cancel
Save