Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions config/constants/production.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,27 @@ module.exports = {
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}`,
MEMBER_API_URL: `${PROD_API_HOSTNAME}/v5/members`,
CHALLENGE_API_URL: `${PROD_API_HOSTNAME}/v5/challenges`,
MEMBER_API_URL: `${PROD_API_HOSTNAME}/v6/members`,
CHALLENGE_API_URL: `${PROD_API_HOSTNAME}/v6/challenges`,
CHALLENGE_DEFAULT_REVIEWERS_URL: `${PROD_API_HOSTNAME}/v6/challenge/default-reviewers`,
CHALLENGE_API_VERSION: '1.1.0',
CHALLENGE_TIMELINE_TEMPLATES_URL: `${PROD_API_HOSTNAME}/v5/timeline-templates`,
CHALLENGE_TIMELINE_TEMPLATES_URL: `${PROD_API_HOSTNAME}/v6/timeline-templates`,
CHALLENGE_TYPES_URL: `${PROD_API_HOSTNAME}/v6/challenge-types`,
CHALLENGE_TRACKS_URL: `${PROD_API_HOSTNAME}/v5/challenge-tracks`,
CHALLENGE_PHASES_URL: `${PROD_API_HOSTNAME}/v5/challenge-phases`,
CHALLENGE_TIMELINES_URL: `${PROD_API_HOSTNAME}/v5/challenge-timelines`,
CHALLENGE_TRACKS_URL: `${PROD_API_HOSTNAME}/v6/challenge-tracks`,
CHALLENGE_PHASES_URL: `${PROD_API_HOSTNAME}/v6/challenge-phases`,
CHALLENGE_TIMELINES_URL: `${PROD_API_HOSTNAME}/v6/challenge-timelines`,
COPILOTS_URL: `https://copilots.${DOMAIN}`,
PROJECT_API_URL: `${PROD_API_HOSTNAME}/v5/projects`,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[⚠️ correctness]
The PROJECT_API_URL is still using version v5, while other URLs have been updated to v6. Ensure this is intentional and verify if it should be updated to maintain consistency across API versions.

GROUPS_API_URL: `${PROD_API_HOSTNAME}/v5/groups`,
GROUPS_API_URL: `${PROD_API_HOSTNAME}/v6/groups`,
TERMS_API_URL: `${PROD_API_HOSTNAME}/v5/terms`,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[⚠️ correctness]
The TERMS_API_URL is still using version v5, while other URLs have been updated to v6. Confirm if this is intentional or if it should be updated for consistency.

MEMBERS_API_URL: `${PROD_API_HOSTNAME}/v5/members`,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[⚠️ correctness]
The MEMBERS_API_URL is still using version v5, while other URLs have been updated to v6. Verify if this is intentional or if it should be updated for consistency.

RESOURCES_API_URL: `${PROD_API_HOSTNAME}/v5/resources`,
RESOURCE_ROLES_API_URL: `${PROD_API_HOSTNAME}/v5/resource-roles`,
RESOURCES_API_URL: `${PROD_API_HOSTNAME}/v6/resources`,
RESOURCE_ROLES_API_URL: `${PROD_API_HOSTNAME}/v6/resource-roles`,
SUBMISSIONS_API_URL: `${PROD_API_HOSTNAME}/v6/submissions`,
REVIEW_TYPE_API_URL: `${PROD_API_HOSTNAME}/v5/reviewTypes`,
REVIEWS_API_URL: `${PROD_API_HOSTNAME}/v5/reviews`, //update to use v6
SCORECARDS_API_URL: `${PROD_API_HOSTNAME}/v5/scorecards`, // update to use v6
WORKFLOWS_API_URL: `${PROD_API_HOSTNAME}/v5/workflows`, // update to use v6
REVIEW_TYPE_API_URL: `${PROD_API_HOSTNAME}/v6/reviewTypes`,
REVIEWS_API_URL: `${PROD_API_HOSTNAME}/v6/reviews`,
SCORECARDS_API_URL: `${PROD_API_HOSTNAME}/v6/scorecards`,
WORKFLOWS_API_URL: `${PROD_API_HOSTNAME}/v6/workflows`,
SUBMISSION_REVIEW_APP_URL: `https://submission-review.${DOMAIN}/challenges`,
STUDIO_URL: `https://studio.${DOMAIN}`,
CONNECT_APP_URL: `https://connect.${DOMAIN}`,
Expand Down
Loading