🦠 Added ignored folder back to git tracking
Signed-off-by: Rishi Ghan <rishi.ghan@gmail.com>
This commit is contained in:
12
src/server/route/path.ts
Normal file
12
src/server/route/path.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Ipath, IPathRoute } from "../interfaces/path.interface";
|
||||
|
||||
function path(url: string): IPathRoute {
|
||||
const allRoutes: Ipath = {
|
||||
"/extra": {
|
||||
methods: ["POST", "GET", "PUT"],
|
||||
},
|
||||
};
|
||||
return allRoutes[url];
|
||||
}
|
||||
|
||||
export default path;
|
||||
Reference in New Issue
Block a user