Created the v1 routes
This commit is contained in:
parent
61026cbe3c
commit
6faf3a8437
8
src/routes/v1/index.ts
Normal file
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;
|
Loading…
x
Reference in New Issue
Block a user