2020-01-10 01:44:58 +00:00
|
|
|
const express = require('express');
|
|
|
|
const router = express.Router();
|
2020-01-18 00:32:40 +00:00
|
|
|
const apiIndexController = require('../controllers/api/apiIndex');
|
2020-01-18 23:42:45 +00:00
|
|
|
const apiRoomRouter = require('./api/room');
|
|
|
|
|
|
|
|
router.use('/rooms', apiRoomRouter);
|
2020-01-10 01:44:58 +00:00
|
|
|
|
2020-01-18 00:32:40 +00:00
|
|
|
router.get('/', apiIndexController.apiIndex);
|
2020-01-10 01:44:58 +00:00
|
|
|
|
|
|
|
module.exports = router;
|