appview-less bluesky client
24
fork

Configure Feed

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

at main 11 lines 586 B view raw
1import { settings } from '$lib/settings'; 2import type { Did } from '@atcute/lexicons'; 3import { get } from 'svelte/store'; 4 5export const slingshotUrl: URL = new URL(get(settings).endpoints.slingshot); 6export const spacedustUrl: URL = new URL(get(settings).endpoints.spacedust); 7export const constellationUrl: URL = new URL(get(settings).endpoints.constellation); 8export const pocketUrl: URL = new URL(get(settings).endpoints.pocket); 9export const cdnUrl: URL = new URL(get(settings).endpoints.cdn); 10 11export const httpToDidWeb = (url: string): Did => `did:web:${new URL(url).hostname}`;