diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-05-24 18:46:55 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-05-24 18:46:55 -0500 |
commit | 0a18229784ea6c67e5ac17e4bae1a79a24f80d7f (patch) | |
tree | af829bdacd5489e9e012b74a3778752ed3efbce0 /src/lib/constants.ts | |
parent | 4e1876fe85ab3a70eba50466a62bff8a9d01c16c (diff) | |
parent | 32c9dabb7467149baf39d8f5c2eb3d0b81236d92 (diff) | |
download | voidsky-0a18229784ea6c67e5ac17e4bae1a79a24f80d7f.tar.zst |
Merge branch 'custom-algos' of github.com:bluesky-social/social-app into custom-algos
Diffstat (limited to 'src/lib/constants.ts')
-rw-r--r-- | src/lib/constants.ts | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/constants.ts b/src/lib/constants.ts index e492dd61a..c42e6f3a9 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -102,13 +102,15 @@ export async function DEFAULT_FEEDS( serviceUrl: string, resolveHandle: (name: string) => Promise<string>, ) { - if (serviceUrl.includes('localhost')) { // local dev + if (serviceUrl.includes('localhost')) { + // local dev const aliceDid = await resolveHandle('alice.test') return { pinned: [`at://${aliceDid}/app.bsky.feed.generator/alice-favs`], saved: [`at://${aliceDid}/app.bsky.feed.generator/alice-favs`], } - } else if (serviceUrl.includes('staging')) { // staging + } else if (serviceUrl.includes('staging')) { + // staging return { pinned: [STAGING_DEFAULT_FEED('whats-hot')], saved: [ @@ -118,7 +120,8 @@ export async function DEFAULT_FEEDS( STAGING_DEFAULT_FEED('hot-classic'), ], } - } else { // production + } else { + // production return { pinned: [PROD_DEFAULT_FEED('whats-hot')], saved: [ |