forked from mystiq/hydrogen-web
log requests to dev server
This commit is contained in:
parent
6a8c0b52e0
commit
c8fd9d423d
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ const serve = serveStatic(
|
||||||
|
|
||||||
// Create server
|
// Create server
|
||||||
const server = http.createServer(function onRequest (req, res) {
|
const server = http.createServer(function onRequest (req, res) {
|
||||||
|
console.log(req.method, req.url);
|
||||||
serve(req, res, finalhandler(req, res))
|
serve(req, res, finalhandler(req, res))
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue