about summary refs log tree commit diff
path: root/src/lib/constants.ts
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2023-11-10 09:59:04 -0600
committerEric Bailey <git@esb.lol>2023-11-10 09:59:04 -0600
commit436a14eabb4fe2238ff6048f41042433c0e07268 (patch)
tree047882fe839963796eaa31e908702e3ccd9e86e0 /src/lib/constants.ts
parentd0d93168d4a33c9fc06f84fd3aa98bef6f5f90f0 (diff)
downloadvoidsky-436a14eabb4fe2238ff6048f41042433c0e07268.tar.zst
Pare down session as much as possible
Diffstat (limited to 'src/lib/constants.ts')
-rw-r--r--src/lib/constants.ts5
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 = [