@@ -67,85 +67,6 @@ module.exports = {
6767 } ,
6868} ;
6969
70- const frontendConfigs = {
71- local : {
72- JWT_V3_NAME : 'v3jwt' ,
73- JWT_V2_NAME : 'tcjwt' ,
74- COOKIES_SECURE : false ,
75- TC_LOGIN_URL : 'https://accounts-auth0.topcoder-dev.com/' ,
76- API_URL : 'https://127.0.0.1:8443' ,
77- ADMIN_TOOL_URL : 'http://localhost:8080/api/v2' ,
78- ACCOUNTS_CONNECTOR_URL : 'https://accounts.topcoder-dev.com/connector.html' ,
79- CONNECT_URL_BASE : 'https://connect.topcoder-dev/projects/' ,
80- OWNER_LOGIN_GITHUB_URL : '/api/v1/github/owneruser/login' ,
81- OWNER_LOGIN_GITLAB_URL : '/api/v1/gitlab/owneruser/login' ,
82- TOPCODER_URL : 'https://topcoder-dev.com' ,
83- GITHUB_TEAM_URL : 'https://github.com/orgs/' ,
84- GITLAB_GROUP_URL : 'https://gitlab.com/groups/' ,
85- } ,
86- heroku : {
87- JWT_V3_NAME : 'v3jwt' ,
88- JWT_V2_NAME : 'tcjwt' ,
89- COOKIES_SECURE : false ,
90- TC_LOGIN_URL : 'https://accounts-auth0.topcoder-dev.com/' ,
91- API_URL : 'https://api.topcoder-dev.com' ,
92- ADMIN_TOOL_URL : 'https://api.topcoder-dev.com/v2' ,
93- ACCOUNTS_CONNECTOR_URL : 'https://accounts.topcoder-dev.com/connector.html' ,
94- CONNECT_URL_BASE : 'https://connect.topcoder-dev.com/projects/' ,
95- OWNER_LOGIN_GITHUB_URL : '/api/v1/github/owneruser/login' ,
96- OWNER_LOGIN_GITLAB_URL : '/api/v1/gitlab/owneruser/login' ,
97- TOPCODER_URL : 'https://topcoder-dev.com' ,
98- GITHUB_TEAM_URL : 'https://github.com/orgs/' ,
99- GITLAB_GROUP_URL : 'https://gitlab.com/groups/' ,
100- } ,
101- dev : {
102- JWT_V3_NAME : 'v3jwt' ,
103- JWT_V2_NAME : 'tcjwt' ,
104- COOKIES_SECURE : false ,
105- TC_LOGIN_URL : 'https://accounts-auth0.topcoder-dev.com/' ,
106- API_URL : 'https://api.topcoder-dev.com' ,
107- ADMIN_TOOL_URL : 'https://api.topcoder-dev.com/v2' ,
108- ACCOUNTS_CONNECTOR_URL : 'https://accounts.topcoder-dev.com/connector.html' ,
109- CONNECT_URL_BASE : 'https://connect.topcoder-dev.com/projects/' ,
110- OWNER_LOGIN_GITHUB_URL : '/api/v1/github/owneruser/login' ,
111- OWNER_LOGIN_GITLAB_URL : '/api/v1/gitlab/owneruser/login' ,
112- TOPCODER_URL : 'https://topcoder-dev.com' ,
113- GITHUB_TEAM_URL : 'https://github.com/orgs/' ,
114- GITLAB_GROUP_URL : 'https://gitlab.com/groups/' ,
115- } ,
116- qa : {
117- JWT_V3_NAME : 'v3jwt' ,
118- JWT_V2_NAME : 'tcjwt' ,
119- COOKIES_SECURE : false ,
120- TC_LOGIN_URL : 'https://accounts-auth0.topcoder-dev.com/' ,
121- API_URL : 'https://api.topcoder-qa.com' ,
122- ADMIN_TOOL_URL : 'https://api.topcoder-qa.com/v2' ,
123- ACCOUNTS_CONNECTOR_URL : 'https://accounts.topcoder-qa.com/connector.html' ,
124- CONNECT_URL_BASE : 'https://connect.topcoder-dev.com/projects/' ,
125- OWNER_LOGIN_GITHUB_URL : '/api/v1/github/owneruser/login' ,
126- OWNER_LOGIN_GITLAB_URL : '/api/v1/gitlab/owneruser/login' ,
127- TOPCODER_URL : 'https://topcoder-dev.com' ,
128- GITHUB_TEAM_URL : 'https://github.com/orgs/' ,
129- GITLAB_GROUP_URL : 'https://gitlab.com/groups/' ,
130- } ,
131- prod : {
132- JWT_V3_NAME : 'v3jwt' ,
133- JWT_V2_NAME : 'tcjwt' ,
134- COOKIES_SECURE : false ,
135- TC_LOGIN_URL : 'https://accounts-auth0.topcoder.com/' ,
136- API_URL : 'https://api.topcoder.com' ,
137- ADMIN_TOOL_URL : 'https://api.topcoder.com/v2' ,
138- ACCOUNTS_CONNECTOR_URL : 'https://accounts.topcoder.com/connector.html' ,
139- CONNECT_URL_BASE : 'https://connect.topcoder.com/projects/' ,
140- OWNER_LOGIN_GITHUB_URL : '/api/v1/github/owneruser/login' ,
141- OWNER_LOGIN_GITLAB_URL : '/api/v1/gitlab/owneruser/login' ,
142- TOPCODER_URL : 'https://topcoder.com' ,
143- GITHUB_TEAM_URL : 'https://github.com/orgs/' ,
144- GITLAB_GROUP_URL : 'https://gitlab.com/groups/' ,
145- } ,
146- } ;
147-
148- const activeEnv = module . exports . TOPCODER_ENV ;
14970module . exports . frontendConfigs = {
15071 copilotRole : module . exports . COPILOT_ROLE ,
15172 administratorRoles : module . exports . ADMINISTRATOR_ROLES ,
0 commit comments