Skip to content

Commit 355622a

Browse files
authored
Update index.js (#376)
1 parent ae56e7b commit 355622a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ app.use(compression());
5858
// Static paths
5959
app.use(express.static(path.resolve(__dirname, '../static')));
6060

61+
// favicon for browsers
62+
app.use('/favicon.ico', express.static(path.resolve(__dirname, '../static/custom/favicon.ico')));
63+
6164
// Body parser middlewares
6265
app.use(express.json({ limit: '500mb' }));
6366
app.use(express.urlencoded({ extended: false, limit: '500mb' }));

0 commit comments

Comments
 (0)