Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ruigomes99 committed Aug 24, 2024
1 parent 98186e9 commit 297b45c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ app.use((req, res, next) => {
})

app.get('/', (req, res) => {
res.json({ message: 'Hello World' })
res.status(200).json({ message: 'Hello World' })
})

app.use(express.json())
Expand Down

0 comments on commit 297b45c

Please sign in to comment.