Expose feature flag to frontend as well

This commit is contained in:
Fang-Pen Lin
2025-11-07 09:20:55 -08:00
parent cc749d5513
commit f6db76a23c
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ export const registerV1EERoutes = async (server: FastifyZodProvider) => {
async (pkiRouter) => {
await pkiRouter.register(registerCaCrlRouter, { prefix: "/crl" });
// Notice: current this feature is still in development and is not yet ready for production.
if (getConfig().ACME_FEATURE_ENABLED === true) {
if (getConfig().isAcmeFeatureEnabled === true) {
await pkiRouter.register(registerPkiAcmeRouter, { prefix: "/acme" });
}
},