mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-16 07:58:10 +10:00
feat(feature-flags): fixes #1592, introduces new flags DISABLE_SIGNUPS and DISABLE_EMAIL_AUTH, renamed STORAGE_SKIP_BUCKET_CHECK
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user