docs: specify that a normal handle can be passed to loader options

nulfrost f19362f3 09340099

Changed files
+2 -2
+2 -2
README.md
··· 24 import { leafletStaticLoader } from "@nulfrost/leaflet-loader-astro"; 25 26 const documents = defineCollection({ 27 - loader: leafletStaticLoader({ repo: "did:plc:qttsv4e7pu2jl3ilanfgc3zn" }), 28 }); 29 30 export const collections = { documents }; ··· 107 import { leafletLiveLoader } from "@nulfrost/leaflet-loader-astro"; 108 109 const documents = defineLiveCollection({ 110 - loader: leafletLiveLoader({ repo: "did:plc:qttsv4e7pu2jl3ilanfgc3zn" }), 111 }); 112 113 export const collections = { documents };
··· 24 import { leafletStaticLoader } from "@nulfrost/leaflet-loader-astro"; 25 26 const documents = defineCollection({ 27 + loader: leafletStaticLoader({ repo: "did:plc:qttsv4e7pu2jl3ilanfgc3zn" }), // or repo: dane.is.extraordinarily.cool 28 }); 29 30 export const collections = { documents }; ··· 107 import { leafletLiveLoader } from "@nulfrost/leaflet-loader-astro"; 108 109 const documents = defineLiveCollection({ 110 + loader: leafletLiveLoader({ repo: "did:plc:qttsv4e7pu2jl3ilanfgc3zn" }), // or repo: dane.is.extraordinarily.cool 111 }); 112 113 export const collections = { documents };