File size: 318 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
import { Controller, Get } from "@nestjs/common";
import { FeatureService } from "./feature.service";
@Controller("feature")
export class FeatureController {
constructor(private readonly featureService: FeatureService) {}
@Get("/flags")
getFeatureFlags() {
return this.featureService.getFeatures();
}
}
|