added /api/robots

This commit is contained in:
notnull 2019-02-08 06:58:09 -08:00
parent 2ac6cc2ff2
commit ed33f010d5

12
api/robots.js Normal file
View 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)
}
})