Skip to content

Commit be5eb50

Browse files
remove uesr-agent from fetch BF resources, causing CORS issue
1 parent 6da588d commit be5eb50

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/lib/yoshino.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ async function yoshinoFetchRdf(instanceId, base, retried = false) {
4747
try {
4848
const resp = await fetch(url, {
4949
headers: {
50-
'Accept': 'application/rdf+xml',
51-
'User-Agent': 'LC Yoshino',
50+
'Accept': 'application/rdf+xml'
5251
},
5352
})
5453
if (resp.status === 503 && !retried) {

0 commit comments

Comments
 (0)