Skip to content

Commit

Permalink
idk
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertBroersma committed Nov 27, 2023
1 parent a4b861d commit 3913767
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,18 @@ type CollectionType = typeof collectionShape
let url = useRequestURL()
let {
public: { mapboxToken, password },
public: { mapboxToken },
} = useRuntimeConfig()
let baseURL = url.protocol + '//' + url.host + '/stac'
let catalogPath = `${baseURL}/catalog.json`
let headers = useRequestHeaders()
let { data: catalogJson } = await useFetch<CatalogType>(catalogPath, {
credentials: 'include',
headers,
})
let catalog = catalogJson.value
Expand Down

0 comments on commit 3913767

Please sign in to comment.