diff --git a/lighthouse-cli/test/fixtures/static-server.js b/lighthouse-cli/test/fixtures/static-server.js index 9e5b98bca363..e11084e6bf89 100644 --- a/lighthouse-cli/test/fixtures/static-server.js +++ b/lighthouse-cli/test/fixtures/static-server.js @@ -69,6 +69,12 @@ function requestHandler(request, response) { headers['Content-Type'] = 'text/css'; } else if (filePath.endsWith('.svg')) { headers['Content-Type'] = 'image/svg+xml'; + } else if (filePath.endsWith('.png')) { + headers['Content-Type'] = 'image/png'; + } else if (filePath.endsWith('.gif')) { + headers['Content-Type'] = 'image/gif'; + } else if (filePath.endsWith('.jpg') || filePath.endsWith('.jpeg')) { + headers['Content-Type'] = 'image/jpeg'; } let delay = 0;