Created the v1 routes

This commit is contained in:
Mathias Wagner 2023-01-15 01:15:10 +01:00
parent 61026cbe3c
commit 6faf3a8437
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

8
src/routes/v1/index.ts Normal file
View 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;