node-go/packages/play-node-go/server/routes/api.js
2020-02-05 16:44:34 -08:00

10 lines
292 B
JavaScript

const express = require('express');
const router = express.Router();
const apiIndexController = require('../controllers/api/apiIndex');
const apiRoomRouter = require('./api/room');
router.use('/rooms', apiRoomRouter);
router.get('/', apiIndexController.apiIndex);
module.exports = router;