@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.mjs CHANGED
@@ -4412,7 +4412,7 @@ function StanceAccordion({
4412
4412
  if (contextCache.current.has(topicId)) return;
4413
4413
  try {
4414
4414
  const res = await fetch(
4415
- `${apiUrl}/compass/politicians/${politicianId}/${topicId}/context`,
4415
+ `${apiUrl}/api/compass/politicians/${politicianId}/${topicId}/context`,
4416
4416
  { credentials: "include" }
4417
4417
  );
4418
4418
  if (res.status === 404) {
@@ -4434,7 +4434,7 @@ function StanceAccordion({
4434
4434
  if (quotesCache.current !== null) return;
4435
4435
  try {
4436
4436
  const res = await fetch(
4437
- `${apiUrl}/essentials/quotes?politician_id=${politicianId}`,
4437
+ `${apiUrl}/api/essentials/quotes?politician_id=${politicianId}`,
4438
4438
  { credentials: "include" }
4439
4439
  );
4440
4440
  if (res.ok) {