app.router.js 264 Bytes
Newer Older
baesangjune's avatar
baesangjune committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import express from 'express'
import app from '../controllers/app.controller.js'

const router = express.Router()



router.route('/api/app/recommend')
    .get(app.searchRecommend)

router.route('/api/app/latest')
    .get(app.searchLatest)

export default router