refactor: use relative paths for API calls

This commit is contained in:
2025-06-05 06:28:24 +09:00
committed by Satsuki Akiba (aider)
parent 3f3c486f81
commit d7107a1e0c
2 changed files with 2 additions and 6 deletions

View File

@ -19,9 +19,7 @@ export default function FeedList() {
const fetchFeeds = async () => {
try {
const response = await fetch(
`${import.meta.env["PODCAST_BASE_URL"]}/api/feeds`,
);
const response = await fetch("/api/feeds");
if (!response.ok) {
throw new Error("フィードの取得に失敗しました");
}