feat: Convert routes folder to the js files

This commit is contained in:
Faruk AYDIN
2023-12-28 13:22:23 +01:00
parent aceebba99a
commit 9d1aa9e59a
4 changed files with 37 additions and 33 deletions

View File

@@ -0,0 +1,12 @@
import { Router } from 'express';
import graphQLInstance from '../helpers/graphql-instance';
import webhooksRouter from './webhooks';
import paddleRouter from './paddle.ee';
const router = Router();
router.use('/graphql', graphQLInstance);
router.use('/webhooks', webhooksRouter);
router.use('/paddle', paddleRouter);
export default router;