Initial
This commit is contained in:
8
server/routes/bootstrapRoutes.js
vendored
Normal file
8
server/routes/bootstrapRoutes.js
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import { Router } from 'express';
|
||||
import { bootstrap, health } from '../controllers/bootstrapController.js';
|
||||
import { requireAuth } from '../middleware/auth.js';
|
||||
|
||||
export const bootstrapRoutes = Router();
|
||||
|
||||
bootstrapRoutes.get('/health', health);
|
||||
bootstrapRoutes.get('/bootstrap', requireAuth, bootstrap);
|
||||
Reference in New Issue
Block a user