1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-19 00:15:43 +01:00

Add project api

This commit is contained in:
Fredrik Oseberg 2021-08-09 14:20:53 +02:00
parent 8c26410f50
commit cdac52a742

View File

@ -0,0 +1,11 @@
import Controller from '../../controller';
import { IUnleashConfig } from '../../../types/option';
import { IUnleashServices } from '../../../types/services';
import ProjectHealthReport from './health-report';
export default class ProjectApi extends Controller {
constructor(config: IUnleashConfig, services: IUnleashServices) {
super(config);
this.use('/', new ProjectHealthReport(config, services).router);
}
}