UNPKG

@lucidcms/core

Version:

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

2 lines 166 B
const e=(e,t)=>{let n=e.endsWith(`/`)?e.slice(0,-1):e;return t?`${n}${t.startsWith(`/`)?t:`/${t}`}`:n};export{e as default}; //# sourceMappingURL=url-add-path.mjs.map