Skip to content

Commit

Permalink
Download all submissions and fix for Markdown triple clicking
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgasper committed Feb 18, 2023
1 parent 337ef95 commit 42a196b
Show file tree
Hide file tree
Showing 14 changed files with 1,827 additions and 44 deletions.
4 changes: 4 additions & 0 deletions config/constants/development.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ const DOMAIN = 'topcoder-dev.com'
const DEV_API_HOSTNAME = `https://api.${DOMAIN}`

module.exports = {
API_V2: `${DEV_API_HOSTNAME}/v2`,
API_V3: `${DEV_API_HOSTNAME}/v3`,
API_V4: `${DEV_API_HOSTNAME}/v4`,
API_V5: `${DEV_API_HOSTNAME}/v5`,
ACCOUNTS_APP_CONNECTOR_URL: `https://accounts-auth0.${DOMAIN}`,
ACCOUNTS_APP_LOGIN_URL: `https://accounts-auth0.${DOMAIN}`,
COMMUNITY_APP_URL: `https://www.${DOMAIN}`,
Expand Down
4 changes: 4 additions & 0 deletions config/constants/production.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ const DOMAIN = 'topcoder.com'
const PROD_API_HOSTNAME = `https://api.${DOMAIN}`

module.exports = {
API_V2: `${PROD_API_HOSTNAME}/v2`,
API_V3: `${PROD_API_HOSTNAME}/v3`,
API_V4: `${PROD_API_HOSTNAME}/v4`,
API_V5: `${PROD_API_HOSTNAME}/v5`,
ACCOUNTS_APP_CONNECTOR_URL: process.env.ACCOUNTS_APP_CONNECTOR_URL || `https://accounts-auth0.${DOMAIN}`,
ACCOUNTS_APP_LOGIN_URL: `https://accounts-auth0.${DOMAIN}`,
COMMUNITY_APP_URL: `https://www.${DOMAIN}`,
Expand Down
5 changes: 5 additions & 0 deletions config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,11 @@ module.exports = function (webpackEnv) {
tls: 'empty',
child_process: 'empty'
},
externals: {
/* NodeJS library for https://logentries.com. It is server-side only. Exclude it as null. */
le_node: 'null',
module: 'null'
},
// Turn off performance processing because we utilize
// our own hints via the FileSizeReporter
performance: false
Expand Down
Loading

0 comments on commit 42a196b

Please sign in to comment.