new features, bookstack
This commit is contained in:
10
backend/src/routes/bookstack.routes.ts
Normal file
10
backend/src/routes/bookstack.routes.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { Router } from 'express';
|
||||
import bookstackController from '../controllers/bookstack.controller';
|
||||
import { authenticate } from '../middleware/auth.middleware';
|
||||
|
||||
const router = Router();
|
||||
|
||||
router.get('/recent', authenticate, bookstackController.getRecent.bind(bookstackController));
|
||||
router.get('/search', authenticate, bookstackController.search.bind(bookstackController));
|
||||
|
||||
export default router;
|
||||
Reference in New Issue
Block a user