Skip to content

Commit

Permalink
headers
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertBroersma committed Dec 20, 2024
1 parent 6d2f33b commit 2d4e2e1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,12 @@ function isCollectionIntersecting(collection: CollectionType) {
return turf.intersect(collectionBboxPolygon, drawnBboxPolygon) !== null
}
let countries = await $fetch(url.protocol + '//' + url.host + '/countries.json')
let countries = await $fetch(
url.protocol + '//' + url.host + '/countries.json',
{
headers,
},
)
console.log(countries, url.protocol + '//' + url.host + '/countries.json')
Expand Down

0 comments on commit 2d4e2e1

Please sign in to comment.