diff --git a/api/robots.js b/api/robots.js new file mode 100644 index 0000000..171058a --- /dev/null +++ b/api/robots.js @@ -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) + } +})