Skip to content

Commit

Permalink
Use 503 for service unavailable.
Browse files Browse the repository at this point in the history
  • Loading branch information
lsm committed Jan 14, 2016
1 parent ab398dc commit 4f618c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/web/router.js
Original file line number Diff line number Diff line change
@@ -275,6 +275,6 @@ exports.getProxyHandler = function(scheduler, httpServer, allowUpgrade) {
}

exports.noProviderAvailable = function(req, res) {
res.writeHead(500)
res.writeHead(503)
res.end('Service Unavailable')
}

0 comments on commit 4f618c8

Please sign in to comment.