Skip to content

Weird message: listening on http://::1:3000 #24

@kristianmandrup

Description

@kristianmandrup

When running npm run dev on a fresh project

[dev]
listening on http://::1:3000

Should be listening on http://localhost:3000

I found the bug in skel/index.js

app.listen(port, '::1', err => {
	if (err) {
		return console.err(err)
	}
	log(`listening on http://::1:${ port }`)
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions