Files
ebook/.nuxt/nuxt-icon-server-bundle.mjs
koziavin 495638c922
All checks were successful
Deploy Application / deploy (push) Successful in 7s
fix
2025-06-18 08:33:33 +04:00

13 lines
253 B
JavaScript

function createRemoteCollection(fetchEndpoint) {
let _cache
return async () => {
if (_cache)
return _cache
const res = await fetch(fetchEndpoint).then(r => r.json())
_cache = res
return res
}
}
export const collections = {
}