Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit cdff296

Browse files
author
Nick Litwin
committed
Add new relic id to constants
1 parent b2e2bea commit cdff296

File tree

1 file changed

+24
-18
lines changed

1 file changed

+24
-18
lines changed

tc-constants.coffee

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,27 @@ configEnvConstants = (ENV) ->
33

44
if ENV == 'DEV'
55
Object.assign constants,
6-
API_URL : 'https://api.topcoder-dev.com/v3'
7-
API_URL_V2 : 'https://api.topcoder-dev.com/v2'
8-
ASSET_PREFIX : 'https://s3.amazonaws.com/app.topcoder-dev.com/'
9-
AUTH_API_URL : 'https://api.topcoder-dev.com/v3'
10-
auth0Callback : 'https://api.topcoder-dev.com/pub/callback.html'
11-
auth0Domain : 'topcoder-dev.auth0.com'
12-
clientId : 'JFDo7HMkf0q2CkVFHojy3zHWafziprhT'
13-
domain : 'topcoder-dev.com'
14-
ENV : 'DEV'
6+
API_URL : 'https://api.topcoder-dev.com/v3'
7+
API_URL_V2 : 'https://api.topcoder-dev.com/v2'
8+
ASSET_PREFIX : 'https://s3.amazonaws.com/app.topcoder-dev.com/'
9+
AUTH_API_URL : 'https://api.topcoder-dev.com/v3'
10+
auth0Callback : 'https://api.topcoder-dev.com/pub/callback.html'
11+
auth0Domain : 'topcoder-dev.auth0.com'
12+
clientId : 'JFDo7HMkf0q2CkVFHojy3zHWafziprhT'
13+
domain : 'topcoder-dev.com'
14+
ENV : 'DEV'
1515

16-
ARENA_URL : '//arena.topcoder-dev.com'
17-
BLOG_LOCATION : 'https://www.topcoder-dev.com/feed/?post_type=blog'
18-
COMMUNITY_URL : '//community.topcoder-dev.com'
19-
FORUMS_APP_URL : '//apps.topcoder-dev.com/forums'
20-
HELP_APP_URL : 'help.topcoder-dev.com'
21-
MAIN_URL : 'https://www.topcoder-dev.com'
22-
PHOTO_LINK_LOCATION: 'https://community.topcoder-dev.com'
23-
SWIFT_PROGRAM_URL : 'apple.topcoder-dev.com',
24-
TCO16_URL : 'http://tco16.topcoder-dev.com'
16+
NEW_RELIC_APPLICATION_ID: process.env.TRAVIS_BRANCH ? '8957921' : ''
17+
18+
ARENA_URL : '//arena.topcoder-dev.com'
19+
BLOG_LOCATION : 'https://www.topcoder-dev.com/feed/?post_type=blog'
20+
COMMUNITY_URL : '//community.topcoder-dev.com'
21+
FORUMS_APP_URL : '//apps.topcoder-dev.com/forums'
22+
HELP_APP_URL : 'help.topcoder-dev.com'
23+
MAIN_URL : 'https://www.topcoder-dev.com'
24+
PHOTO_LINK_LOCATION: 'https://community.topcoder-dev.com'
25+
SWIFT_PROGRAM_URL : 'apple.topcoder-dev.com',
26+
TCO16_URL : 'http://tco16.topcoder-dev.com'
2527

2628

2729
if ENV == 'QA'
@@ -36,6 +38,8 @@ configEnvConstants = (ENV) ->
3638
domain : 'topcoder-qa.com'
3739
ENV : 'QA'
3840

41+
NEW_RELIC_APPLICATION_ID: process.env.TRAVIS_BRANCH ? '11199233' : ''
42+
3943
ARENA_URL : '//arena.topcoder-qa.com'
4044
BLOG_LOCATION : 'https://www.topcoder-qa.com/feed/?post_type=blog'
4145
COMMUNITY_URL : '//community.topcoder-qa.com'
@@ -59,6 +63,8 @@ configEnvConstants = (ENV) ->
5963
ENV : 'PROD'
6064
NODE_ENV : 'production'
6165

66+
NEW_RELIC_APPLICATION_ID: process.env.TRAVIS_BRANCH ? '11352758' : ''
67+
6268
ARENA_URL : '//arena.topcoder.com'
6369
BLOG_LOCATION : 'https://www.topcoder.com/feed/?post_type=blog'
6470
COMMUNITY_URL : '//community.topcoder.com'

0 commit comments

Comments
 (0)