diff options
author | Eric Bailey <git@esb.lol> | 2023-11-10 09:59:04 -0600 |
---|---|---|
committer | Eric Bailey <git@esb.lol> | 2023-11-10 09:59:04 -0600 |
commit | 436a14eabb4fe2238ff6048f41042433c0e07268 (patch) | |
tree | 047882fe839963796eaa31e908702e3ccd9e86e0 /src/lib/constants.ts | |
parent | d0d93168d4a33c9fc06f84fd3aa98bef6f5f90f0 (diff) | |
download | voidsky-436a14eabb4fe2238ff6048f41042433c0e07268.tar.zst |
Pare down session as much as possible
Diffstat (limited to 'src/lib/constants.ts')
-rw-r--r-- | src/lib/constants.ts | 5 |
1 files changed, 4 insertions, 1 deletions
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 = [ |