Skip to content

Commit

Permalink
미들웨어 라우팅관련 에러 해결
Browse files Browse the repository at this point in the history
와일드카드는 아래쪽에...
  • Loading branch information
kth2624 committed May 8, 2022
1 parent a69a443 commit 4cf5554
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions routes/together.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ import * as togetherController from '../controller/together.controller.js';
const router = express.Router();

router.get('/',togetherController.getEventList);
router.get('/:id',togetherController.getEvent);
router.post('/', isAuth ,togetherController.createEvent);
router.delete('/:id', isAuth ,togetherController.deleteEvent);
router.post('/register', isAuth ,togetherController.register);
router.delete('/unregister/:id', isAuth ,togetherController.unregister);
router.post('/matching', isAuth, togetherController.matching);
router.get('/matching', togetherController.getEventInfo);
router.get('/matching/:id', togetherController.getTeam);
router.get('/:id',togetherController.getEvent);
router.delete('/:id', isAuth ,togetherController.deleteEvent);


export default router;

0 comments on commit 4cf5554

Please sign in to comment.