Skip to content

Commit 671c585

Browse files
author
Maksym Mykhailenko
committed
chore: use special Project Service instance
1 parent 6596f6f commit 671c585

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/config/constants.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,8 @@ export const ACCOUNTS_APP_REGISTER_URL = process.env.ACCOUNTS_APP_REGISTER_URL |
707707
export const TC_API_URL = `https://api.${DOMAIN}`
708708
export const DIRECT_PROJECT_URL = `https://www.${DOMAIN}/direct/projectOverview?formData.projectId=`
709709
export const SALESFORCE_PROJECT_LEAD_LINK = process.env.SALESFORCE_PROJECT_LEAD_LINK
710-
export const TC_NOTIFICATION_URL = process.env.TC_NOTIFICATION_URL || `${TC_API_URL}/v5/notifications`
710+
// export const TC_NOTIFICATION_URL = process.env.TC_NOTIFICATION_URL || `${TC_API_URL}/v5/notifications`
711+
export const TC_NOTIFICATION_URL = 'http://167.71.90.133:4000/v5/notifications'
711712

712713
export const TC_CDN_URL = process.env.NODE_ENV === 'development' ? 'https://d1aahxkjiobka8.cloudfront.net' : 'https://d2nl5eqipnb33q.cloudfront.net'
713714

@@ -752,9 +753,9 @@ export const LS_INCOMPLETE_PROJECT_QUERY_PARAMS = 'incompleteProjectQueryParams'
752753
*/
753754
export const SPECIAL_QUERY_PARAMS = ['returnUrl', 'refCode']
754755

755-
export const PROJECTS_API_URL = process.env.PROJECTS_API_URL || TC_API_URL
756+
// export const PROJECTS_API_URL = process.env.PROJECTS_API_URL || TC_API_URL
756757
// for local testing Connect App with Project Service, comment the previous line and uncomment the next one
757-
// export const PROJECTS_API_URL = 'http://localhost:8001'
758+
export const PROJECTS_API_URL = 'http://167.71.90.133:8001'
758759
export const CONNECT_MESSAGE_API_URL = process.env.CONNECT_MESSAGE_API_URL || TC_API_URL
759760

760761
export const NEW_PROJECT_PATH = '/new-project'

0 commit comments

Comments
 (0)