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:
parent
8c26410f50
commit
cdac52a742
11
src/lib/routes/admin-api/project/index.ts
Normal file
11
src/lib/routes/admin-api/project/index.ts
Normal 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);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user