index.js 505 B

123456789101112131415161718
  1. 'use strict'
  2. import express from 'express'
  3. import listScenes from './listScenes'
  4. import listSceneQualities from './listSceneQualities'
  5. import getImage from './getImage'
  6. import getImageExtracts from './getImageExtracts'
  7. import ping from './ping'
  8. const router = express.Router()
  9. router.use('/listScenes', listScenes)
  10. router.use('/listSceneQualities', listSceneQualities)
  11. router.use('/getImage', getImage)
  12. router.use('/getImageExtracts', getImageExtracts)
  13. router.get('/ping', ping)
  14. export default router