Add staging env
This commit is contained in:
+7
-1
@@ -3,8 +3,14 @@ import {sessionClient as AtpApi} from '../third-party/api'
|
||||
import {RootStoreModel} from './models/root-store'
|
||||
import * as libapi from './lib/api'
|
||||
import * as storage from './lib/storage'
|
||||
import {BUILD} from '../env'
|
||||
|
||||
export const DEFAULT_SERVICE = 'http://localhost:2583'
|
||||
export const DEFAULT_SERVICE =
|
||||
BUILD === 'prod'
|
||||
? 'http://localhost:2583' // TODO
|
||||
: BUILD === 'staging'
|
||||
? 'https://pds.staging.bsky.dev' // TODO
|
||||
: 'http://localhost:2583'
|
||||
const ROOT_STATE_STORAGE_KEY = 'root'
|
||||
const STATE_FETCH_INTERVAL = 15e3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user