created the killer route to crash backend
This commit is contained in:
1 parent
ce9dcc79b7
commit
e24455559f
1 file changed
+17
@@ -0,0 +1,17 @@
|
||||
const express = require('express');
|
||||
const killerRouter = express.Router();
|
||||
|
||||
// ! /killer
|
||||
// * POST
|
||||
killerRouter.post('/', async (req, res) => {
|
||||
console.log("Killing backend.")
|
||||
console.log(haha)
|
||||
});
|
||||
|
||||
// * GET
|
||||
killerRouter.get('/', async (req, res) => {
|
||||
console.log("Killing backend.")
|
||||
console.log(haha)
|
||||
});
|
||||
|
||||
module.exports = killerRouter;
|
||||
Reference in new issue
Block a user