Skip to content

Commit

Permalink
fix(middleware): Actually serve the favicon.
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Jun 19, 2015
1 parent d83fab9 commit f12db63
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/middleware/karma.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ var createKarmaMiddleware = function (filesPromise, serveStaticFile,
})
}

// serve the favicon
if (requestUrl === '/favicon.ico') {
return serveStaticFile(requestUrl, response)
}

// serve context.html - execution context within the iframe
// or debug.html - execution context without channel to the server
if (requestUrl === '/context.html' || requestUrl === '/debug.html') {
Expand Down

0 comments on commit f12db63

Please sign in to comment.