Skip to content

Commit 2922486

Browse files
committed
log requests
1 parent 4a7dd52 commit 2922486

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/preview.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class Server {
3838
}
3939

4040
_handleRequest: RequestListener = async (req, res) => {
41+
console.log(req.method, req.url);
4142
const url = new URL(req.url!, "http://localhost");
4243
let {pathname} = url;
4344
try {

0 commit comments

Comments
 (0)