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