Skip to content
This repository has been archived by the owner on Nov 29, 2021. It is now read-only.

Commit

Permalink
feat: simplify the path of favicon.ico
Browse files Browse the repository at this point in the history
  • Loading branch information
YanceyOfficial committed Mar 26, 2020
1 parent 04a0c43 commit 0ef0693
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/middlewares/index.middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import helmet from 'helmet'
import rateLimit from 'express-rate-limit'

export const configMiddlewares = (app: INestApplication) => {
app.use(serveFavicon(path.join(process.cwd(), 'public/assets/favicon/favicon.ico')))
app.use(serveFavicon(path.join(process.cwd(), 'public/favicon.ico')))
app.use(bodyParser.json())
app.use(bodyParser.urlencoded({ extended: true }))
app.use(morgan('combined'))
Expand Down

0 comments on commit 0ef0693

Please sign in to comment.