@empoweredvote/ev-ui 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -4496,7 +4496,7 @@ function StanceAccordion({
4496
4496
  if (contextCache.current.has(topicId)) return;
4497
4497
  try {
4498
4498
  const res = await fetch(
4499
- `${apiUrl}/compass/politicians/${politicianId}/${topicId}/context`,
4499
+ `${apiUrl}/api/compass/politicians/${politicianId}/${topicId}/context`,
4500
4500
  { credentials: "include" }
4501
4501
  );
4502
4502
  if (res.status === 404) {
@@ -4518,7 +4518,7 @@ function StanceAccordion({
4518
4518
  if (quotesCache.current !== null) return;
4519
4519
  try {
4520
4520
  const res = await fetch(
4521
- `${apiUrl}/essentials/quotes?politician_id=${politicianId}`,
4521
+ `${apiUrl}/api/essentials/quotes?politician_id=${politicianId}`,
4522
4522
  { credentials: "include" }
4523
4523
  );
4524
4524
  if (res.ok) {