dsi-icl/optimise

View on GitHub
packages/optimise-core/src/routes/infoRoute.js

Summary

Maintainability
A
0 mins
Test Coverage
/**
 * Route info
 * @description Redirect request from /internalapi/info to the proper controller call
 */

import express from 'express';

import InfoController from '../controllers/infoController';

const info = express();

info.route('/')
    .get(InfoController.getInfo);

export default info;