From 6af2585f3232fedd1864ff187bae0153967c7f38 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Fri, 17 Mar 2023 15:20:34 -0500 Subject: Choose good stuff based on service --- src/lib/constants.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/lib/constants.ts') diff --git a/src/lib/constants.ts b/src/lib/constants.ts index 0cde9b014..ffc1aaed5 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -161,6 +161,16 @@ export function SUGGESTED_FOLLOWS(serviceUrl: string) { } } +export function GOOD_STUFF(serviceUrl: string) { + if (serviceUrl.includes('localhost')) { + return 'alice.test' + } else if (serviceUrl.includes('staging')) { + return 'paul.staging.bsky.dev' + } else { + return 'jay.bsky.social' + } +} + export const POST_IMG_MAX_WIDTH = 2000 export const POST_IMG_MAX_HEIGHT = 2000 export const POST_IMG_MAX_SIZE = 1000000 -- cgit 1.4.1