Skip to content

Commit

Permalink
tests(fixtures): use relative path in static server 404 page
Browse files Browse the repository at this point in the history
  • Loading branch information
exterkamp authored Sep 12, 2019
1 parent a7efa7a commit d0e5c58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lighthouse-cli/test/fixtures/static-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function requestHandler(request, response) {

function fsExistsCallback(fileExists) {
if (!fileExists) {
return sendResponse(404, `404 - File not found. ${absoluteFilePath}`);
return sendResponse(404, `404 - File not found. ${filePath}`);
}
fs.readFile(absoluteFilePath, 'binary', readFileCallback);
}
Expand Down

0 comments on commit d0e5c58

Please sign in to comment.