about summary refs log tree commit diff
path: root/src/lib/constants.ts
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-11-16 11:16:31 -0800
committerGitHub <noreply@github.com>2023-11-16 11:16:31 -0800
commite637798e05ba3bfc1c78be1b0f70e8b0ac22554d (patch)
tree61d60e597d406744125c4dcf71a6c63cebc3a47b /src/lib/constants.ts
parent9f7a162a96200aaca0512765eff938a88c84d6d6 (diff)
downloadvoidsky-e637798e05ba3bfc1c78be1b0f70e8b0ac22554d.tar.zst
Refactor account-creation to use react-query and a reducer (react-query refactor) (#1931)
* Refactor account-creation to use react-query and a reducer

* Add translations

* Missing translate
Diffstat (limited to 'src/lib/constants.ts')
-rw-r--r--src/lib/constants.ts8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/constants.ts b/src/lib/constants.ts
index 89c441e98..f8f651305 100644
--- a/src/lib/constants.ts
+++ b/src/lib/constants.ts
@@ -1,4 +1,10 @@
-import {Insets} from 'react-native'
+import {Insets, Platform} from 'react-native'
+
+export const LOCAL_DEV_SERVICE =
+  Platform.OS === 'android' ? 'http://10.0.2.2:2583' : 'http://localhost:2583'
+export const STAGING_SERVICE = 'https://staging.bsky.dev'
+export const PROD_SERVICE = 'https://bsky.social'
+export const DEFAULT_SERVICE = PROD_SERVICE
 
 const HELP_DESK_LANG = 'en-us'
 export const HELP_DESK_URL = `https://blueskyweb.zendesk.com/hc/${HELP_DESK_LANG}`