UNPKG

@lucidcms/core

Version:

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

1 lines 554 B
{"version":3,"file":"create-share-link-url.mjs","names":["constants"],"sources":["../../../src/utils/media/create-share-link-url.ts"],"sourcesContent":["import constants from \"../../constants/constants.js\";\n\n/**\n * Used to create the url for the media share link.\n */\nconst createShareLinkUrl = (props: { token: string; host: string }) => {\n\treturn `${props.host}/${constants.directories.base}/share/${props.token}`;\n};\n\nexport default createShareLinkUrl;\n"],"mappings":"6CAKA,MAAM,EAAsB,GACpB,GAAG,EAAM,KAAK,GAAGA,EAAU,YAAY,KAAK,SAAS,EAAM"}