Skip to content

Commit

Permalink
Update index.js (#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
LordJavi authored May 27, 2021
1 parent ae56e7b commit 355622a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ app.use(compression());
// Static paths
app.use(express.static(path.resolve(__dirname, '../static')));

// favicon for browsers
app.use('/favicon.ico', express.static(path.resolve(__dirname, '../static/custom/favicon.ico')));

// Body parser middlewares
app.use(express.json({ limit: '500mb' }));
app.use(express.urlencoded({ extended: false, limit: '500mb' }));
Expand Down

0 comments on commit 355622a

Please sign in to comment.