mirror of
https://github.com/GithubOrgProjectPiza/server.git
synced 2026-09-04 23:33:59 +02:00
Fix naming issues in routers and remove unnecessary files
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user