Skip to content

Commit 14a7b9f

Browse files
committed
fix(jsserve): serve empty favicon to prevent errors in benchmarks
Background: our benchmarks check whether there were errors in the browser log after they executed.
1 parent fa1ec48 commit 14a7b9f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tools/build/jsserve.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ module.exports = function(gulp, plugins, config) {
44
root: [__dirname+'/../../'+config.path],
55
port: config.port,
66
livereload: false,
7-
open: false
7+
open: false,
8+
middleware: function(connect, opt) {
9+
return [
10+
connect.favicon()
11+
]
12+
}
813
})();
914
};
1015
};

0 commit comments

Comments
 (0)