We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e70e982 commit c9a24e7Copy full SHA for c9a24e7
1 file changed
src/api.ts
@@ -25,7 +25,8 @@ export async function fetchComments(videoId: string) {
25
26
debug(`fetch comments: page ${page}`)
27
const response = await fetch(
28
- `https://api.bilibili.com/x/v2/reply?${params}`
+ `https://api.bilibili.com/x/v2/reply?${params}`,
29
+ { credentials: 'include' }
30
)
31
32
const data: CommentDetailsResponse = await response.json()
0 commit comments