Choose good stuff based on service

This commit is contained in:
Paul Frazee
2023-03-17 15:20:34 -05:00
parent b4965b6255
commit 021dad5355
2 changed files with 12 additions and 2 deletions
+10
View File
@@ -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