Skip to content

Commit

Permalink
Fix require statement (#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkverse authored Jan 3, 2023
1 parent f7cc21a commit 73dd475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/micro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ You can use Micro programmatically by requiring Micro directly:

```js
const http = require('http');
const serve = require('micro');
const sleep = require('then-sleep');
const { serve } = require('micro');

const server = new http.Server(
serve(async (req, res) => {
Expand Down

0 comments on commit 73dd475

Please sign in to comment.