Skip to content

Commit

Permalink
Update app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
giovanigenerali authored Nov 14, 2024
1 parent 3aad458 commit 249ec1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ server.all('*', (req, res, next) => {
})

server.get('/', (req, res) => {
res.redirect('https://github.com/wgenial/br-cidades-estados-nodejs/blob/master/README.md')
res.redirect('https://github.com/giovanigenerali/br-cidades-estados-nodejs/blob/master/README.md')
})

server.use(jsonServer.rewriter({
Expand All @@ -42,4 +42,4 @@ server.use(router)

server.listen(process.env.PORT || 3000, () => { console.log('JSON Server is running.') })

exports = module.exports = server;
exports = module.exports = server;

0 comments on commit 249ec1a

Please sign in to comment.