Skip to content

Commit c89deb9

Browse files
authored
Merge pull request #3437 from topcoder-platform/develop
bring master up to date #3374
2 parents e880cb1 + 6e85c35 commit c89deb9

File tree

14 files changed

+6676
-6989
lines changed

14 files changed

+6676
-6989
lines changed

config/default.js

-14
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
/* All availalbe configuration options should be documented in the default
22
* config file, even when they are overriden in every custom configuration. */
33

4-
const { deferConfig } = require('config/defer');
5-
64
module.exports = {
75
/* Configuration of Topcoder APIs. */
86
API: {
@@ -213,21 +211,9 @@ module.exports = {
213211

214212
OPEN_EXCHANGE_RATES_KEY: '',
215213

216-
/* Review type ID for AV Scans. */
217-
AV_SCAN_SCORER_REVIEW_TYPE_ID: '',
218-
219-
JWT_AUTH: {
220-
SECRET: '',
221-
VALID_ISSUERS: deferConfig(function d() {
222-
return this.VALID_ISSUERS ? this.VALID_ISSUERS.replace(/\\"/g, '')
223-
: '["https://api.topcoder-dev.com", "https://api.topcoder.com", "https://topcoder-dev.auth0.com/"]';
224-
}),
225-
},
226-
227214
/* These credentials allow Community App server to communicate with
228215
* protected TC API endpoints (on behalf of the app itself). */
229216
TC_M2M: {
230-
AUTH0_URL: '',
231217
CLIENT_ID: '',
232218
CLIENT_SECRET: '',
233219
AUDIENCE: '',

config/development.js

-4
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,4 @@ module.exports = {
44
URL: {
55
USER_SETTINGS: '', /* No dev server is available for saved searches */
66
},
7-
8-
SECRET: {
9-
AV_SCAN_SCORER_REVIEW_TYPE_ID: '68c5a381-c8ab-48af-92a7-7a869a4ee6c3',
10-
},
117
};

config/production.js

-4
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,4 @@ module.exports = {
9393
title: 'Switch to BUSINESS',
9494
href: 'https://connect.topcoder.com',
9595
},
96-
97-
SECRET: {
98-
AV_SCAN_SCORER_REVIEW_TYPE_ID: '55bbb17d-aac2-45a6-89c3-a8d102863d05',
99-
},
10096
};

0 commit comments

Comments
 (0)