From 2ba3525ec0a6aaa6dfde6d9989d6a04e7dc3a118 Mon Sep 17 00:00:00 2001 From: babpulss <47218965+babpulss@users.noreply.github.com> Date: Tue, 26 Dec 2023 11:24:48 +0900 Subject: [PATCH] Update intro.md --- website/docs/intro.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/intro.md b/website/docs/intro.md index 793923c..e573b9d 100644 --- a/website/docs/intro.md +++ b/website/docs/intro.md @@ -33,7 +33,7 @@ repos.on('fetch', (fetch) => { fetch.accept(); }); -repos.listen(port, () => { +repos.listen(port, {type: 'http'}, () => { console.log(`node-git-server running at http://localhost:${port}`); }); ```