2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-16 08:20:34 +03:00

feat: major refactor, cleanup and jest tests

This commit is contained in:
pimlie
2019-02-09 21:45:22 +01:00
parent 9dfb001d4e
commit 5d64d43862
61 changed files with 8598 additions and 822 deletions
+4 -2
View File
@@ -24,7 +24,9 @@ fs.readdirSync(__dirname).forEach(file => {
app.use(express.static(__dirname))
const host = process.env.HOST || 'localhost'
const port = process.env.PORT || 8080
module.exports = app.listen(port, () => {
console.log(`Server listening on http://localhost:${port}, Ctrl+C to stop`)
module.exports = app.listen(port, host, () => {
console.log(`Server listening on http://${host}:${port}, Ctrl+C to stop`)
})