We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2d29ce commit 96bea44Copy full SHA for 96bea44
custom/preview.vue
@@ -78,6 +78,7 @@ onMounted(async () => {
78
try {
79
const response = await fetch(url.value, {
80
method: 'HEAD',
81
+ mode: 'cors',
82
});
83
const ct = response.headers.get('Content-Type');
84
if (ct) {
0 commit comments