Skip to content

Commit

Permalink
fix(server-routes): ignore all falsey values - fixes #1064
Browse files Browse the repository at this point in the history
  • Loading branch information
shakyShane committed Apr 13, 2016
1 parent 6cb750b commit f100ef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/server/static-server.js
Expand Up @@ -53,7 +53,7 @@ module.exports = function createServer (bs, scripts) {
*/
.update("middleware", function (mw) {

if (!server.has("routes")) {
if (!server.get("routes")) {
return mw;
}

Expand Down

0 comments on commit f100ef1

Please sign in to comment.