Skip to content

Commit

Permalink
json?
Browse files Browse the repository at this point in the history
  • Loading branch information
omiend committed Oct 15, 2023
1 parent d93c3b2 commit 1a2fc76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/top/News.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
const year = '2023'
const { data: postsXmlStr } = await useFetch(`https://blog.scalamatsuri.org/rss/category/ScalaMatsuri${year}`, {
onRequest({ request, options }) {
options.headers = { ...options.headers, accept: 'application/xml, text/plain, */*' }
options.headers = { ...options.headers, accept: 'application/json, text/plain, */*' }
console.dir(
JSON.stringify(
{
Expand Down

0 comments on commit 1a2fc76

Please sign in to comment.