index.js 689 B

12345678910111213141516171819202122
  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. import dataCollect from './dataCollect'
  9. import experimentCollect from './experimentCollect'
  10. const router = express.Router()
  11. router.use('/listScenes', listScenes)
  12. router.use('/listSceneQualities', listSceneQualities)
  13. router.use('/getImage', getImage)
  14. router.use('/getImageExtracts', getImageExtracts)
  15. router.use('/dataCollect', dataCollect)
  16. router.use('/experimentCollect', experimentCollect)
  17. router.use('/ping', ping)
  18. export default router