Skip to content

Commit

Permalink
fix(doc): incluir ícone na documentação
Browse files Browse the repository at this point in the history
  • Loading branch information
PauloGoncalvesBH committed May 22, 2020
1 parent e4e4e74 commit 1fb4321
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ app.use(timeout())
app.disable('x-powered-by')

app.get('/api-doc', (req, res) => {
res.sendFile('./api-doc.html', { root: __dirname })
res.sendFile('./doc/api-doc.html', { root: __dirname })
})

app.get('/favicon.ico', (req, res) => {
res.sendFile('./doc/favicon.png', { root: __dirname })
})

app.use(logger('dev'))
Expand Down
File renamed without changes.
Binary file added src/doc/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1fb4321

Please sign in to comment.