Skip to content

Commit

Permalink
default GET
Browse files Browse the repository at this point in the history
  • Loading branch information
dolled-possum committed Jan 3, 2025
1 parent aa4bf28 commit c3c094a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { Router } = require('express');
const routes = Router();

routes.get('/', (req, res) => {res.json({ message: 'invalid route' })});
routes.get('/', (req, res) => {res.status(200).json({ message: 'default route' })});

module.exports = routes;

0 comments on commit c3c094a

Please sign in to comment.