Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix tests on appveyor #814

Merged
merged 1 commit into from May 23, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

fix tests on appveyor

  • Loading branch information
feross committed May 23, 2016
commit 178b2c5f097ece7e7de47a5098b5d11634a72146
@@ -8,16 +8,14 @@ function createServer (data, cb) {
if (req.url !== '/') {
res.statusCode = 404
res.end()
} else {
res.end(data)
}
res.end(data)
})

server.on('listening', function () {
var address = server.address()
if (address.family === 'IPv6') {
address.address = '[' + address.address + ']'
}
var url = 'http://' + address.address + ':' + address.port + '/'
var url = 'http://127.0.0.1:' + address.port + '/'
cb(url, server)
})

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.