From 436a14eabb4fe2238ff6048f41042433c0e07268 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Fri, 10 Nov 2023 09:59:04 -0600 Subject: Pare down session as much as possible --- src/lib/constants.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/lib/constants.ts') diff --git a/src/lib/constants.ts b/src/lib/constants.ts index 472b59d76..89c441e98 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -43,7 +43,10 @@ export function IS_PROD(url: string) { // until open federation, "production" is defined as the main server // this definition will not work once federation is enabled! // -prf - return url.startsWith('https://bsky.social') + return ( + url.startsWith('https://bsky.social') || + url.startsWith('https://api.bsky.app') + ) } export const PROD_TEAM_HANDLES = [ -- cgit 1.4.1