feat(feature-flags): fixes #1592, introduces new flags DISABLE_SIGNUPS and DISABLE_EMAIL_AUTH, renamed STORAGE_SKIP_BUCKET_CHECK

This commit is contained in:
Amruth Pillai
2024-05-29 10:30:38 +02:00
parent 1191bbca67
commit d18ef2e1a5
23 changed files with 1697 additions and 1366 deletions
@@ -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();
}
}