mirror of
https://github.com/zhigang1992/devhub.git
synced 2026-06-10 06:50:12 +08:00
[Server] Fix __DEV__ error
This commit is contained in:
@@ -14,6 +14,5 @@ export const DEFAULT_PAGINATION_PER_PAGE = 10
|
||||
export const API_BASE_URL = 'https://api.devhubapp.com'
|
||||
export const GRAPHQL_ENDPOINT = `${API_BASE_URL}/graphql`
|
||||
|
||||
export const GITHUB_APP_CANNONICAL_ID = __DEV__
|
||||
? 'devhub-localhost-app'
|
||||
: 'devhub-app'
|
||||
export const GITHUB_APP_CANNONICAL_ID =
|
||||
process.env.NODE_ENV === 'development' ? 'devhub-localhost-app' : 'devhub-app'
|
||||
|
||||
Reference in New Issue
Block a user