From bec352e5e5ed75071e4587cd3b1d7ac11c2602df Mon Sep 17 00:00:00 2001 From: Juan Eugenio Abadie Date: Wed, 7 Mar 2018 01:06:59 -0300 Subject: [PATCH] Load the favicon --- build/dev-server.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/dev-server.js b/build/dev-server.js index a503b5105..bec08950e 100644 --- a/build/dev-server.js +++ b/build/dev-server.js @@ -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]