Skip to content

Commit

Permalink
Load the favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
whoan authored and smartapant committed Mar 7, 2018
1 parent 128ece5 commit bec352e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/dev-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ const hotMiddleware = require('webpack-hot-middleware')(compiler, {
// compilation error display
app.use(hotMiddleware)

// load the favicon
app.use('/favicon.ico', express.static(__dirname + '/../favicon.ico'));

// proxy api requests
Object.keys(proxyTable).forEach(function (context) {
let options = proxyTable[context]
Expand Down

0 comments on commit bec352e

Please sign in to comment.