added /api/robots
This commit is contained in:
parent
2ac6cc2ff2
commit
ed33f010d5
12
api/robots.js
Normal file
12
api/robots.js
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
const router = require('express').Router()
|
||||||
|
module.exports = router
|
||||||
|
|
||||||
|
// what you will hit at /api/robots
|
||||||
|
router.get('/', async (req, res, next) => {
|
||||||
|
try {
|
||||||
|
console.log('NSA was here')
|
||||||
|
res.status(201).send('FUCK YOU NSA\n')
|
||||||
|
} catch (err) {
|
||||||
|
next(err)
|
||||||
|
}
|
||||||
|
})
|
Loading…
Reference in New Issue
Block a user