Fix naming issues in routers and remove unnecessary files

This commit is contained in:
Stone_Red
2022-04-07 07:36:43 +02:00
parent 22d7865065
commit 39d6157a3c
5 changed files with 4 additions and 23 deletions
-12
View File
@@ -1,12 +0,0 @@
import express from "express";
import { sayHello } from "../controller/testcontroller.controller";
export const router = express.Router();
router.get("/", (request: Request, response: Response) => {
response.status(200).send("Cool test stuff!");
});
router.post("/test1", sayHello);
module.exports = router;