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

Commit e74c7c3

Browse files
author
dengjun
committed
job integration done
1 parent ea28c30 commit e74c7c3

File tree

19 files changed

+421
-22541
lines changed

19 files changed

+421
-22541
lines changed

.eslintrc

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
{
2-
"extends": [
3-
"react-important-stuff",
4-
"plugin:prettier/recommended"
5-
],
2+
"extends": ["react-important-stuff", "plugin:prettier/recommended"],
63
"parser": "babel-eslint",
74
"env": {
85
"node": true
96
}
10-
}
7+
}

.prettierrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"singleQuote": false
3+
}

config/default.js

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,32 @@ module.exports = {
1010
URL: {
1111
BASE: "https://www.topcoder-dev.com",
1212
COMMUNITY_APP: "https://community-app.topcoder-dev.com",
13+
PLATFORM_WEBSITE_URL: "https://platform.topcoder-dev.com",
1314
},
1415
// the server api base path
1516
API_BASE_PATH: process.env.API_BASE_PATH || "/earn-app/api/my-gigs",
1617
// the log level, default is 'debug'
1718
LOG_LEVEL: process.env.LOG_LEVEL || "debug",
1819
// The authorization secret used during token verification.
19-
AUTH_SECRET: process.env.AUTH_SECRET || "UgL4(SEAM*~yc7L~vWrKKN&GHrwyc9N[@nVxm,X?#b4}7:xbzM",
20+
AUTH_SECRET:
21+
process.env.AUTH_SECRET ||
22+
"UgL4(SEAM*~yc7L~vWrKKN&GHrwyc9N[@nVxm,X?#b4}7:xbzM",
2023
// The valid issuer of tokens, a json array contains valid issuer.
2124
VALID_ISSUERS:
2225
process.env.VALID_ISSUERS ||
2326
'["https://api.topcoder-dev.com", "https://api.topcoder.com", "https://topcoder-dev.auth0.com/", "https://auth.topcoder-dev.com/"]',
2427
// Auth0 URL, used to get TC M2M token
25-
AUTH0_URL: process.env.AUTH0_URL || "https://topcoder-dev.auth0.com/oauth/token",
28+
AUTH0_URL:
29+
process.env.AUTH0_URL || "https://topcoder-dev.auth0.com/oauth/token",
2630
// Auth0 audience, used to get TC M2M token
2731
AUTH0_AUDIENCE: process.env.AUTH0_AUDIENCE || "https://m2m.topcoder-dev.com/",
2832
// Auth0 client id, used to get TC M2M token
29-
AUTH0_CLIENT_ID: process.env.AUTH0_CLIENT_ID || "gZ6jt50HYHLBf4vhxjUhXPZOR7Q5lk4k",
33+
AUTH0_CLIENT_ID:
34+
process.env.AUTH0_CLIENT_ID || "gZ6jt50HYHLBf4vhxjUhXPZOR7Q5lk4k",
3035
// Auth0 client secret, used to get TC M2M token
31-
AUTH0_CLIENT_SECRET: process.env.AUTH0_CLIENT_SECRET || "zb-OV1Rl3QpUkt4BexJ-Rs58jYMazCre1_97aU4PJIvQdVB-DmQIs61W3gCfPyP4",
36+
AUTH0_CLIENT_SECRET:
37+
process.env.AUTH0_CLIENT_SECRET ||
38+
"zb-OV1Rl3QpUkt4BexJ-Rs58jYMazCre1_97aU4PJIvQdVB-DmQIs61W3gCfPyP4",
3239
// Proxy Auth0 URL, used to get TC M2M token
3340
AUTH0_PROXY_SERVER_URL: process.env.AUTH0_PROXY_SERVER_URL,
3441
m2m: {

config/development.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ module.exports = {
99
URL: {
1010
BASE: "https://www.topcoder-dev.com",
1111
COMMUNITY_APP: "https://community-app.topcoder-dev.com",
12+
PLATFORM_WEBSITE_URL: "https://platform.topcoder-dev.com",
1213
},
1314
};

config/production.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ module.exports = {
99
URL: {
1010
BASE: "https://www.topcoder.com",
1111
COMMUNITY_APP: "https://community-app.topcoder.com",
12+
PLATFORM_WEBSITE_URL: "https://platform.topcoder.com",
1213
},
1314
};

0 commit comments

Comments
 (0)