diff --git a/src/routes/v1/index.ts b/src/routes/v1/index.ts new file mode 100644 index 0000000..e30d704 --- /dev/null +++ b/src/routes/v1/index.ts @@ -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; \ No newline at end of file