UNPKG

@lucidcms/core

Version:

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

2 lines 239 B
import{normalizeHost as e}from"../../../utils/helpers/get-base-url.mjs";const t=t=>{let n=t.get(`config`);return n.host?.trim()?e(n.host):e(new URL(t.req.url).origin)};export{t as default}; //# sourceMappingURL=get-request-base-url.mjs.map