fix: add Authorization header to POST /api/feed request

This commit is contained in:
posimai 2026-04-10 18:06:47 +09:00
parent d3d1980bfc
commit dcb0274de7
1 changed files with 1 additions and 1 deletions

View File

@ -993,7 +993,7 @@ async function loadFeed() {
res = await fetch(FEED_API, { res = await fetch(FEED_API, {
method: 'POST', method: 'POST',
cache: 'no-store', cache: 'no-store',
headers: { 'Content-Type': 'application/json' }, headers: { 'Content-Type': 'application/json', 'Authorization': `Bearer ${apiKey}` },
body: JSON.stringify({ customFeeds }), body: JSON.stringify({ customFeeds }),
}); });
} else { } else {