Set reusable global data on server side through stuff

https://kit.svelte.dev/docs#loading-input-stuff
This commit is contained in:
2021-10-12 00:08:56 +02:00
parent ab6227b7e6
commit dd0e820b83

View File

@@ -113,7 +113,8 @@
locations: data.location_aggregated[0].count.id, locations: data.location_aggregated[0].count.id,
countries: data.country_aggregated[0].count.id, countries: data.country_aggregated[0].count.id,
}, },
} },
stuff: data,
} }
} }
</script> </script>