Skip to content

Commit

Permalink
Merge pull request #191 from jshthornton/master
Browse files Browse the repository at this point in the history
The index file should be served up with 200
  • Loading branch information
cloudhead authored Oct 18, 2017
2 parents 2f790f0 + 8a5294a commit e994d29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ require('http').createServer(function (request, response) {
};

if (argv['spa'] && request.url.indexOf(".") == -1) {
file.serveFile(argv['indexFile'], 500, {}, request, response);
file.serveFile(argv['indexFile'], 200, {}, request, response);
} else {
file.serve(request, response, callback);
}
Expand Down

0 comments on commit e994d29

Please sign in to comment.