UNPKG

@lucidcms/core

Version:

The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.

2 lines 404 B
import{multiTenancyEnabled as e}from"../../utils/helpers/tenants.mjs";import t from"../license/verify.mjs";const n=async n=>{if(e(n.config)){for(let e of n.config.tenants){let r=await t(n,{tenantKey:e.key});if(r.error)return r}return{error:void 0,data:void 0}}let r=await t(n,{tenantKey:null});return r.error?r:{error:void 0,data:void 0}};export{n as default}; //# sourceMappingURL=verify-license.mjs.map