about summary refs log tree commit diff
path: root/src/lib/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/constants.ts')
-rw-r--r--src/lib/constants.ts16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/constants.ts b/src/lib/constants.ts
index f4c6f5021..e492dd61a 100644
--- a/src/lib/constants.ts
+++ b/src/lib/constants.ts
@@ -102,13 +102,13 @@ export async function DEFAULT_FEEDS(
   serviceUrl: string,
   resolveHandle: (name: string) => Promise<string>,
 ) {
-  if (serviceUrl.includes('localhost')) {
+  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')) {
+  } else if (serviceUrl.includes('staging')) { // staging
     return {
       pinned: [STAGING_DEFAULT_FEED('whats-hot')],
       saved: [
@@ -118,14 +118,14 @@ export async function DEFAULT_FEEDS(
         STAGING_DEFAULT_FEED('hot-classic'),
       ],
     }
-  } else {
+  } else { // production
     return {
-      pinned: [STAGING_DEFAULT_FEED('whats-hot')],
+      pinned: [PROD_DEFAULT_FEED('whats-hot')],
       saved: [
-        STAGING_DEFAULT_FEED('bsky-team'),
-        STAGING_DEFAULT_FEED('with-friends'),
-        STAGING_DEFAULT_FEED('whats-hot'),
-        STAGING_DEFAULT_FEED('hot-classic'),
+        PROD_DEFAULT_FEED('bsky-team'),
+        PROD_DEFAULT_FEED('with-friends'),
+        PROD_DEFAULT_FEED('whats-hot'),
+        PROD_DEFAULT_FEED('hot-classic'),
       ],
     }
   }