Skip to content

Commit

Permalink
Fix merge issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgasper committed Feb 13, 2021
1 parent 88957c9 commit beb528c
Showing 1 changed file with 0 additions and 79 deletions.
79 changes: 0 additions & 79 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,85 +67,6 @@ module.exports = {
},
};

const frontendConfigs = {
local: {
JWT_V3_NAME: 'v3jwt',
JWT_V2_NAME: 'tcjwt',
COOKIES_SECURE: false,
TC_LOGIN_URL: 'https://accounts-auth0.topcoder-dev.com/',
API_URL: 'https://127.0.0.1:8443',
ADMIN_TOOL_URL: 'http://localhost:8080/api/v2',
ACCOUNTS_CONNECTOR_URL: 'https://accounts.topcoder-dev.com/connector.html',
CONNECT_URL_BASE: 'https://connect.topcoder-dev/projects/',
OWNER_LOGIN_GITHUB_URL: '/api/v1/github/owneruser/login',
OWNER_LOGIN_GITLAB_URL: '/api/v1/gitlab/owneruser/login',
TOPCODER_URL: 'https://topcoder-dev.com',
GITHUB_TEAM_URL: 'https://github.com/orgs/',
GITLAB_GROUP_URL: 'https://gitlab.com/groups/',
},
heroku: {
JWT_V3_NAME: 'v3jwt',
JWT_V2_NAME: 'tcjwt',
COOKIES_SECURE: false,
TC_LOGIN_URL: 'https://accounts-auth0.topcoder-dev.com/',
API_URL: 'https://api.topcoder-dev.com',
ADMIN_TOOL_URL: 'https://api.topcoder-dev.com/v2',
ACCOUNTS_CONNECTOR_URL: 'https://accounts.topcoder-dev.com/connector.html',
CONNECT_URL_BASE: 'https://connect.topcoder-dev.com/projects/',
OWNER_LOGIN_GITHUB_URL: '/api/v1/github/owneruser/login',
OWNER_LOGIN_GITLAB_URL: '/api/v1/gitlab/owneruser/login',
TOPCODER_URL: 'https://topcoder-dev.com',
GITHUB_TEAM_URL: 'https://github.com/orgs/',
GITLAB_GROUP_URL: 'https://gitlab.com/groups/',
},
dev: {
JWT_V3_NAME: 'v3jwt',
JWT_V2_NAME: 'tcjwt',
COOKIES_SECURE: false,
TC_LOGIN_URL: 'https://accounts-auth0.topcoder-dev.com/',
API_URL: 'https://api.topcoder-dev.com',
ADMIN_TOOL_URL: 'https://api.topcoder-dev.com/v2',
ACCOUNTS_CONNECTOR_URL: 'https://accounts.topcoder-dev.com/connector.html',
CONNECT_URL_BASE: 'https://connect.topcoder-dev.com/projects/',
OWNER_LOGIN_GITHUB_URL: '/api/v1/github/owneruser/login',
OWNER_LOGIN_GITLAB_URL: '/api/v1/gitlab/owneruser/login',
TOPCODER_URL: 'https://topcoder-dev.com',
GITHUB_TEAM_URL: 'https://github.com/orgs/',
GITLAB_GROUP_URL: 'https://gitlab.com/groups/',
},
qa: {
JWT_V3_NAME: 'v3jwt',
JWT_V2_NAME: 'tcjwt',
COOKIES_SECURE: false,
TC_LOGIN_URL: 'https://accounts-auth0.topcoder-dev.com/',
API_URL: 'https://api.topcoder-qa.com',
ADMIN_TOOL_URL: 'https://api.topcoder-qa.com/v2',
ACCOUNTS_CONNECTOR_URL: 'https://accounts.topcoder-qa.com/connector.html',
CONNECT_URL_BASE: 'https://connect.topcoder-dev.com/projects/',
OWNER_LOGIN_GITHUB_URL: '/api/v1/github/owneruser/login',
OWNER_LOGIN_GITLAB_URL: '/api/v1/gitlab/owneruser/login',
TOPCODER_URL: 'https://topcoder-dev.com',
GITHUB_TEAM_URL: 'https://github.com/orgs/',
GITLAB_GROUP_URL: 'https://gitlab.com/groups/',
},
prod: {
JWT_V3_NAME: 'v3jwt',
JWT_V2_NAME: 'tcjwt',
COOKIES_SECURE: false,
TC_LOGIN_URL: 'https://accounts-auth0.topcoder.com/',
API_URL: 'https://api.topcoder.com',
ADMIN_TOOL_URL: 'https://api.topcoder.com/v2',
ACCOUNTS_CONNECTOR_URL: 'https://accounts.topcoder.com/connector.html',
CONNECT_URL_BASE: 'https://connect.topcoder.com/projects/',
OWNER_LOGIN_GITHUB_URL: '/api/v1/github/owneruser/login',
OWNER_LOGIN_GITLAB_URL: '/api/v1/gitlab/owneruser/login',
TOPCODER_URL: 'https://topcoder.com',
GITHUB_TEAM_URL: 'https://github.com/orgs/',
GITLAB_GROUP_URL: 'https://gitlab.com/groups/',
},
};

const activeEnv = module.exports.TOPCODER_ENV;
module.exports.frontendConfigs = {
copilotRole: module.exports.COPILOT_ROLE,
administratorRoles: module.exports.ADMINISTRATOR_ROLES,
Expand Down

0 comments on commit beb528c

Please sign in to comment.