We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44d07ff commit 131a2eeCopy full SHA for 131a2ee
1 file changed
packages/devtools/client/pages/modules/virtual-files.vue
@@ -20,7 +20,11 @@ watchEffect(() => {
20
if (!fileId.value)
21
return
22
const url = `/_vfs.json/${encodeURIComponent(fileId.value)}`
23
- fetch(url)
+ fetch(url, {
24
+ headers: {
25
+ accept: 'application/json',
26
+ },
27
+ })
28
.then(i => i.json())
29
.then(i => current.value = i.current)
30
})
0 commit comments