Skip to content

Commit 790da7e

Browse files
committed
Integrada a API de beers criada na aula passada
1 parent c89ba63 commit 790da7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ app.use('/partials', partials);
5454

5555
// JSON API
5656
app.use('/api', api);
57+
app.use('/api/beers', modulesAPI.beers);
5758

5859
// redirect all others to the index (HTML5 history)
5960
app.get('*', function(req, res, next) {

0 commit comments

Comments
 (0)