Created the v1 routes

This commit is contained in:
2023-01-15 01:15:10 +01:00
parent 61026cbe3c
commit 6faf3a8437

8
src/routes/v1/index.ts Normal file

@ -0,0 +1,8 @@
import express, {Request, Response, Router} from "express";
import {sendError} from "@utils/error";
const app: Router = express.Router();
app.use("*", (req: Request, res: Response) => sendError(res, 404, 0, "The provided route could not be found"));
export default app;