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 11:31:36 -0600
committerGitHub <noreply@github.com>2023-11-10 11:31:36 -0600
commit6513055d02c5f8981f38bface3514af3472474d9 (patch)
tree0d687d4ef59b20a0b75d8e42171c6fafd9e0d36c /src/lib/constants.ts
parent8d7475c13069f99170b40d696a7371c94020ef46 (diff)
parent436a14eabb4fe2238ff6048f41042433c0e07268 (diff)
downloadvoidsky-6513055d02c5f8981f38bface3514af3472474d9.tar.zst
Merge pull request #1860 from bluesky-social/eric/startup
Web login/signup and shell
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 = [