mirror of
https://github.com/kevin-DL/sapper-template.git
synced 2026-01-19 13:05:18 +00:00
fix polka.listen
This commit is contained in:
@@ -10,7 +10,6 @@ polka() // You can also use Express
|
|||||||
sirv('assets'),
|
sirv('assets'),
|
||||||
sapper({ manifest })
|
sapper({ manifest })
|
||||||
)
|
)
|
||||||
.listen(process.env.PORT)
|
.listen(process.env.PORT, err => {
|
||||||
.catch(err => {
|
if (err) console.log('error', err);
|
||||||
console.log('error', err);
|
});
|
||||||
})
|
|
||||||
|
|||||||
Reference in New Issue
Block a user