created the killer route to crash backend

This commit is contained in:
X4Lo committed 2024-04-16 10:15:21 +01:00
1 parent ce9dcc79b7
commit e24455559f
1 file changed
+17
+17
View File
@@ -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;