text: const express = require('express');
  const serviceRoute = require('./service.route');
  const docsRoute = require('./docs.route');
  const config = require('../../config/config');
  
  const router = express.Router();
  
  const defaultRoutes = [
    {
      path: '/ceus',
      route: serviceRoute,
    },
  ];
  
  const devRoutes = [
    {
      path: '/docs',
      route: docsRoute,
    },
  ];
  
  defaultRoutes.forEach((route) => {
    router.use(route.path, route.route);
  });
  
  /* istanbul ignore next */
  if (config.env === 'development') {
    devRoutes.forEach((route) => {
      router.use(route.path, route.route);
    });
  }
  
  module.exports = router;
  