Skip to content

Commit 1fb4321

Browse files
fix(doc): incluir ícone na documentação
1 parent e4e4e74 commit 1fb4321

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

src/app.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ app.use(timeout())
1616
app.disable('x-powered-by')
1717

1818
app.get('/api-doc', (req, res) => {
19-
res.sendFile('./api-doc.html', { root: __dirname })
19+
res.sendFile('./doc/api-doc.html', { root: __dirname })
20+
})
21+
22+
app.get('/favicon.ico', (req, res) => {
23+
res.sendFile('./doc/favicon.png', { root: __dirname })
2024
})
2125

2226
app.use(logger('dev'))
File renamed without changes.

src/doc/favicon.png

3.66 KB
Loading

0 commit comments

Comments
 (0)