From 0bd80c3a63256fc28033074fae95d4a4c5c0addc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Akseli=20K=C3=A4ppi?= Date: Sat, 22 May 2021 19:28:05 +0300 Subject: [PATCH] Remove non-existing error callback --- src/server.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/server.js b/src/server.js index c77f593b..66c783a5 100644 --- a/src/server.js +++ b/src/server.js @@ -12,6 +12,4 @@ polka() // You can also use Express sirv('static', { dev }), sapper.middleware() ) - .listen(PORT, err => { - if (err) console.log('error', err); - }); + .listen(PORT);