diff --git a/apps/frontend/src/pages/api/appSettings.ts b/apps/frontend/src/pages/api/appSettings.ts new file mode 100644 index 00000000..c7b03a5b --- /dev/null +++ b/apps/frontend/src/pages/api/appSettings.ts @@ -0,0 +1,7 @@ +export default function handler(req, res) { + res.status(200).json({ + "frontendUrl": process.env.FRONTEND_URL, + "isGeneral": !!process.env.IS_GENERAL, + "isBillingEnabled": !!process.env.STRIPE_PUBLISHABLE_KEY, + }) +}