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