Skip to content

Commit

Permalink
fix: use production URLs for Support APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
yomatters committed Nov 15, 2024
1 parent 99a4f6f commit f3c8e4c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/resource-group-affinity-group.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Section from "./section";

export default function ResourceGroupAffinityGroup({ baseUri, infoGroupId }) {
const data = useJSON(
`https://md-2261-accessmatch.pantheonsite.io/api/1.0/affinity_groups/${infoGroupId}`
`https://support.access-ci.org/api/1.0/affinity_groups/${infoGroupId}`
);
if (!data || data.error || !data.length) return;
const slackUri = stripTags(data[0].slack_link);
Expand Down
2 changes: 1 addition & 1 deletion src/resource-group-documentation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Section from "./section";

export default function ResourceGroupDocumentation({ baseUri, infoGroupId }) {
const data = useJSON(
`https://md-2261-accessmatch.pantheonsite.io/api/1.0/kb/${infoGroupId}`
`https://support.access-ci.org/api/1.0/kb/${infoGroupId}`
);

if (!data || data.error || !data.length) return;
Expand Down
2 changes: 1 addition & 1 deletion src/resource-group-events.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function ResourceGroupEvents({ baseUri, infoGroupId }) {
"https://operations-api.access-ci.org/wh2/news/v1/affiliation/access-ci.org/future_outages/"
);
const eventData = useJSON(
`https://md-2261-accessmatch.pantheonsite.io/api/1.1/events/ag/${infoGroupId}`
`https://support.access-ci.org/api/1.1/events/ag/${infoGroupId}`
);
const filteredAnnouncements = useTransform(
[groupData, currentAnnouncementData, futureAnnouncementData],
Expand Down
1 change: 0 additions & 1 deletion src/resource-news.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { useJSON } from "./utils";

export function ResourceNews({ maxItems = 2 }) {
const newsItems = useJSON("https://support.access-ci.org/access_news/api", {
corsProxy: true,
defaultValue: [],
});

Expand Down

0 comments on commit f3c8e4c

Please sign in to comment.