this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at f4e14626aab6b95a89af86a0cade00b9d6bbf505 18 lines 457 B view raw
1/** 2 * This is used for our own Bluesky post embeds, and maybe other things. 3 * 4 * In the case of our embeds, `ref_src=embed`. Not sure if `ref_url` is used. 5 */ 6 7import * as env from '#/env' 8 9let refSrc = '' 10let refUrl = '' 11if (env.IS_WEB) { 12 const params = new URLSearchParams(window.location.search) 13 refSrc = params.get('ref_src') ?? '' 14 refUrl = decodeURIComponent(params.get('ref_url') ?? '') 15} 16 17export const src = refSrc 18export const url = refUrl