place.routes.js 282 Bytes
Newer Older
Kim, Chaerin's avatar
?    
Kim, Chaerin committed
1
2
3
4
5
import express from 'express'
import place from '../controllers/place.controller.js'

const router = express.Router()

baesangjune's avatar
.    
baesangjune committed
6
7
8
9
10
11
router.route('/api/search/imges/:search')
    .get(place.searchImg)

router.route('/api/search/places/:search')
    .get(place.searchPlace)

Kim, Chaerin's avatar
?    
Kim, Chaerin committed
12
13

export default router