Skip to content

Commit 2d4e2e1

Browse files
headers
1 parent 6d2f33b commit 2d4e2e1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

app/pages/index.vue

+6-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,12 @@ function isCollectionIntersecting(collection: CollectionType) {
9696
return turf.intersect(collectionBboxPolygon, drawnBboxPolygon) !== null
9797
}
9898
99-
let countries = await $fetch(url.protocol + '//' + url.host + '/countries.json')
99+
let countries = await $fetch(
100+
url.protocol + '//' + url.host + '/countries.json',
101+
{
102+
headers,
103+
},
104+
)
100105
101106
console.log(countries, url.protocol + '//' + url.host + '/countries.json')
102107

0 commit comments

Comments
 (0)